We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49ff60b commit 9dc75d1Copy full SHA for 9dc75d1
bin/esy-bash.js
@@ -14,7 +14,7 @@ if (process.argv.length >= 3 && process.argv[2] === "--env") {
14
15
16
const argsToSend = opts ? process.argv.slice(4) : process.argv.slice(2);
17
-const sanitizeArgs = (args) => args.map(a => "\"" + a + "\"").join(" ");
+const sanitizeArgs = (args) => args.map((a, idx) => idx === 0 ? a : "\"" + a + "\"").join(" ");
18
19
const sanitizedArgs = argsToSend.length > 1 ? sanitizeArgs(argsToSend) : argsToSend[0]
20
0 commit comments