C#: Cleanup hotfix version of quoting.

This commit is contained in:
Michael Nebel
2023-09-11 09:58:25 +02:00
parent 1b90216c98
commit 8475464fbe
2 changed files with 0 additions and 5 deletions

View File

@@ -54,7 +54,6 @@ s = run_codeql_database_create_stdout(['dotnet clean', 'rm -rf test7-db', 'dotne
check_build_out("hello, world", s)
check_diagnostics(test_db="test8-db")
# two arguments, no '--' (first argument quoted)
s = run_codeql_database_create_stdout(['dotnet clean', 'rm -rf test8-db', 'dotnet run "hello world part1" part2'], "test9-db")
check_build_out("hello world part1, part2", s)

View File

@@ -84,10 +84,6 @@ function RegisterExtractorPack(id)
dotnetRunNeedsSeparator = false
dotnetRunInjectionIndex = i
end
-- if we encounter a whitespace, we explicitly need to quote the argument.
if OperatingSystem == 'windows' and arg:match('%s') then
argv[i] = '"' .. arg .. '"'
end
end
if match then
local injections = { '-p:UseSharedCompilation=false', '-p:EmitCompilerGeneratedFiles=true' }