Skip to content

Commit 99d9fe1

Browse files
committed
C#: Also inject dotnet (pack|test|run)
1 parent 7c12139 commit 99d9fe1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

csharp/tools/tracing-config.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ function RegisterExtractorPack(id)
3131
local firstCharacter = string.sub(arg, 1, 1)
3232
if not (firstCharacter == '-') and not (firstCharacter == '/') then
3333
Log(1, 'Dotnet subcommand detected: %s', arg)
34-
if arg == 'build' or arg == 'msbuild' or arg == 'publish' then match = true end
34+
if arg == 'build' or arg == 'msbuild' or arg == 'publish' or arg == 'pack' or arg == 'test' or
35+
arg == 'run' then match = true end
3536
break
3637
end
3738
end

0 commit comments

Comments
 (0)