Skip to content

Commit 8475464

Browse files
committed
C#: Cleanup hotfix version of quoting.
1 parent 1b90216 commit 8475464

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

csharp/ql/integration-tests/all-platforms/dotnet_run/test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ def check_build_out(msg, s):
5454
check_build_out("hello, world", s)
5555
check_diagnostics(test_db="test8-db")
5656

57-
5857
# two arguments, no '--' (first argument quoted)
5958
s = run_codeql_database_create_stdout(['dotnet clean', 'rm -rf test8-db', 'dotnet run "hello world part1" part2'], "test9-db")
6059
check_build_out("hello world part1, part2", s)

csharp/tools/tracing-config.lua

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,6 @@ function RegisterExtractorPack(id)
8484
dotnetRunNeedsSeparator = false
8585
dotnetRunInjectionIndex = i
8686
end
87-
-- if we encounter a whitespace, we explicitly need to quote the argument.
88-
if OperatingSystem == 'windows' and arg:match('%s') then
89-
argv[i] = '"' .. arg .. '"'
90-
end
9187
end
9288
if match then
9389
local injections = { '-p:UseSharedCompilation=false', '-p:EmitCompilerGeneratedFiles=true' }

0 commit comments

Comments
 (0)