diff --git a/go/codeql-tools/tracing-config.lua b/go/codeql-tools/tracing-config.lua index 8554d545ce00..ea1af7734e0e 100644 --- a/go/codeql-tools/tracing-config.lua +++ b/go/codeql-tools/tracing-config.lua @@ -1,7 +1,7 @@ function RegisterExtractorPack() local goExtractor = GetPlatformToolsDirectory() .. 'go-extractor' local patterns = { - CreatePatternMatcher({'^go-autobuilder$'}, MatchCompilerName, nil, + CreatePatternMatcher({'^go%-autobuilder$'}, MatchCompilerName, nil, {trace = false}), CreatePatternMatcher({'^go$'}, MatchCompilerName, goExtractor, { prepend = {'--mimic', '${compiler}'}, @@ -12,7 +12,7 @@ function RegisterExtractorPack() if OperatingSystem == 'windows' then goExtractor = goExtractor .. 'go-extractor.exe' patterns = { - CreatePatternMatcher({'^go-autobuilder%.exe$'}, MatchCompilerName, + CreatePatternMatcher({'^go%-autobuilder%.exe$'}, MatchCompilerName, nil, {trace = false}), CreatePatternMatcher({'^go%.exe$'}, MatchCompilerName, goExtractor, {