mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +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() ..
|
local extractor = GetPlatformToolsDirectory() ..
|
||||||
'Semmle.Extraction.CSharp.Driver'
|
'Semmle.Extraction.CSharp.Driver'
|
||||||
if OperatingSystem == 'windows' then extractor = extractor .. '.exe' end
|
if OperatingSystem == 'windows' then extractor = extractor .. '.exe' end
|
||||||
@@ -26,14 +26,10 @@ function RegisterExtractorPack()
|
|||||||
return {
|
return {
|
||||||
replace = true,
|
replace = true,
|
||||||
invocations = {
|
invocations = {
|
||||||
{
|
BuildExtractorInvocation(id, compilerPath, compilerPath,
|
||||||
path = compilerPath,
|
compilerArguments, nil, {
|
||||||
transformedArguments = {
|
'/p:UseSharedCompilation=false'
|
||||||
nativeArgumentPointer = compilerArguments['nativeArgumentPointer'],
|
})
|
||||||
append = {'/p:UseSharedCompilation=false'},
|
|
||||||
prepend = {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user