mirror of
https://github.com/github/codeql.git
synced 2025-12-16 08:43:11 +01:00
Swift: Skip -scan-dependencies compiler calls
These do not produce any useful data and just crash our frontend.
This commit is contained in:
@@ -127,6 +127,9 @@ function RegisterExtractorPack(id)
|
||||
if compilerArguments.argv[1] == '-emit-supported-features' then
|
||||
return nil
|
||||
end
|
||||
if compilerArguments.argv[1] == '-scan-dependencies' then
|
||||
return nil
|
||||
end
|
||||
|
||||
strip_unsupported_args(compilerArguments.argv)
|
||||
replace_resource_dir(compilerPath, compilerArguments.argv)
|
||||
|
||||
Reference in New Issue
Block a user