mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
Py: Report any extracted file as successfully extracted
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
/**
|
||||
* @name Successfully extracted Python files
|
||||
* @description Lists all Python files in the source code directory that were extracted
|
||||
* without encountering an error.
|
||||
* @name Extracted Python files
|
||||
* @description Lists all Python files in the source code directory that were extracted.
|
||||
* @kind diagnostic
|
||||
* @id py/diagnostics/successfully-extracted-files
|
||||
* @tags successfully-extracted-files
|
||||
@@ -10,7 +9,5 @@
|
||||
import python
|
||||
|
||||
from File file
|
||||
where
|
||||
not exists(SyntaxError e | e.getFile() = file) and
|
||||
exists(file.getRelativePath())
|
||||
where exists(file.getRelativePath())
|
||||
select file, ""
|
||||
|
||||
Reference in New Issue
Block a user