mirror of
https://github.com/github/codeql.git
synced 2026-02-08 11:11:06 +01:00
19 lines
486 B
Plaintext
19 lines
486 B
Plaintext
/**
|
|
* @name Extraction errors
|
|
* @description List all extraction errors for files in the source code directory.
|
|
* @kind diagnostic
|
|
* @id js/diagnostics/extraction-errors
|
|
*/
|
|
|
|
import javascript
|
|
|
|
/** Gets the SARIF severity to associate an error. */
|
|
int getSeverity() { result = 2 }
|
|
|
|
from Error error
|
|
where
|
|
exists(error.getFile().getRelativePath()) and
|
|
error.isFatal()
|
|
select error, "Extraction failed in " + error.getFile() + " with error " + error.getMessage(),
|
|
getSeverity()
|