Skip to content

Commit

Permalink
use correct value
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed May 4, 2024
1 parent daf9393 commit e4e673f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node_task_runner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ std::string EscapeShell(const std::string_view input) {
// Passing "--help "sdfsd"" to a batch script
// will be considered as a single argument made
// of --help "sdfsd". However, there are corner cases.
std::string escaped = "\"" + escaped + "\"";
std::string escaped = "\"" + std::string(input) + "\"";
#else
// Replace single quotes("'") with "\\'"
std::string escaped =
Expand Down

0 comments on commit e4e673f

Please sign in to comment.