Address review.

This commit is contained in:
Cornelius Riemenschneider
2022-05-10 08:06:25 +00:00
committed by GitHub
parent bf0e32ae82
commit 40503aa368

View File

@@ -1,10 +1,7 @@
function RegisterExtractorPack()
local extractor = GetPlatformToolsDirectory() ..
'Semmle.Extraction.CSharp.Driver'
if OperatingSystem == 'windows' then
extractor = GetPlatformToolsDirectory() ..
'Semmle.Extraction.CSharp.Driver.exe'
end
if OperatingSystem == 'windows' then extractor = extractor .. '.exe' end
local windowsMatchers = {
CreatePatternMatcher({'^dotnet%.exe$'}, MatchCompilerName, extractor,
{prepend = {'--dotnetexec', '--cil'}}),