File tree 2 files changed +4
-6
lines changed
test/query-tests/diagnostics
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
/**
2
- * @name Successfully extracted files
3
- * @description Lists all files in the source code directory that were extracted
4
- * without encountering an error in the file.
2
+ * @name Extracted files
3
+ * @description Lists all files in the source code directory that were extracted.
5
4
* @kind diagnostic
6
5
* @id rb/diagnostics/successfully-extracted-files
7
6
* @tags successfully-extracted-files
@@ -11,7 +10,5 @@ import codeql.ruby.AST
11
10
import codeql.ruby.Diagnostics
12
11
13
12
from File f
14
- where
15
- not exists ( ExtractionError e | e .getLocation ( ) .getFile ( ) = f ) and
16
- exists ( f .getRelativePath ( ) )
13
+ where exists ( f .getRelativePath ( ) )
17
14
select f , ""
Original file line number Diff line number Diff line change 1
1
| src/bar.erb:0:0:0:0 | src/bar.erb | |
2
2
| src/foo.rb:0:0:0:0 | src/foo.rb | |
3
+ | src/not_ruby.rb:0:0:0:0 | src/not_ruby.rb | |
3
4
| src/vendor/cache/lib.rb:0:0:0:0 | src/vendor/cache/lib.rb | |
You can’t perform that action at this time.
0 commit comments