File tree Expand file tree Collapse file tree
test/query-tests/Diagnostics Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /**
2+ * @name Successfully extracted files
3+ * @description Lists all files in the source code directory that were extracted without encountering a problem in the file.
4+ * @kind diagnostic
5+ * @id swift/diagnostics/successfully-extracted-files
6+ * @tags successfully-extracted-files
7+ */
8+
9+ import swift
10+
11+ from File f
12+ where
13+ not exists ( CompilerError e | e .getFile ( ) = f ) and
14+ f .getBaseName ( ) .regexpMatch ( ".*\\.swift\\z" )
15+ select f , "File successfully extracted."
Original file line number Diff line number Diff line change 1+ | main.swift:0:0:0:0 | main.swift | File successfully extracted. |
Original file line number Diff line number Diff line change 1+ diagnostics/SuccessfullyExtractedFiles.ql
Original file line number Diff line number Diff line change 1+ //codeql-extractor-expected-status: 1
2+ #error("Uh oh")
You can’t perform that action at this time.
0 commit comments