mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
C#: Lua tracing config: Use API function.
This commit is contained in:
committed by
GitHub
parent
40503aa368
commit
7c10f3e76b
@@ -1,4 +1,4 @@
|
||||
function RegisterExtractorPack()
|
||||
function RegisterExtractorPack(id)
|
||||
local extractor = GetPlatformToolsDirectory() ..
|
||||
'Semmle.Extraction.CSharp.Driver'
|
||||
if OperatingSystem == 'windows' then extractor = extractor .. '.exe' end
|
||||
@@ -26,14 +26,10 @@ function RegisterExtractorPack()
|
||||
return {
|
||||
replace = true,
|
||||
invocations = {
|
||||
{
|
||||
path = compilerPath,
|
||||
transformedArguments = {
|
||||
nativeArgumentPointer = compilerArguments['nativeArgumentPointer'],
|
||||
append = {'/p:UseSharedCompilation=false'},
|
||||
prepend = {}
|
||||
}
|
||||
}
|
||||
BuildExtractorInvocation(id, compilerPath, compilerPath,
|
||||
compilerArguments, nil, {
|
||||
'/p:UseSharedCompilation=false'
|
||||
})
|
||||
}
|
||||
}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user