mirror of
https://github.com/github/codeql.git
synced 2026-03-06 07:36:47 +01:00
With Swift 6.1 the extractor will start to extract files outside of the test directory. These files and their elements we do not want to see in our tests.
8 lines
257 B
Plaintext
8 lines
257 B
Plaintext
import swift
|
|
|
|
string describe(File f) { (f.isSuccessfullyExtracted() and result = "isSuccessfullyExtracted") }
|
|
|
|
from File f
|
|
where exists(f.getRelativePath()) or f instanceof UnknownFile
|
|
select f, concat(f.getRelativePath(), ", "), concat(describe(f), ", ")
|