Files
codeql/javascript/ql/src/Diagnostics/SuccessfullyExtractedFiles.ql
2021-04-12 14:11:38 +01:00

15 lines
382 B
Plaintext

/**
* @name Successfully extracted files
* @description Lists all files in the source code directory that were extracted without encountering an error in the file.
* @kind diagnostic
* @id js/diagnostics/successfully-extracted-files
*/
import javascript
from File f
where
not exists(Error e | e.isFatal() and e.getFile() = f) and
exists(f.getRelativePath())
select f, ""