Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit c562bf5

Browse files
committed
fix(ns-bundle): remove command escaping when spawning child process
fixes #214
1 parent 041ee81 commit c562bf5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: bin/ns-bundle

+1-2
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,8 @@ function getCommand(flags) {
211211
function spawnChildProcess(command, ...args) {
212212
return new Promise((resolve, reject) => {
213213
const escapedArgs = args.map(escapeWithQuotes)
214-
const escapedCommand = escapeWithQuotes(command)
215214

216-
const childProcess = spawn(escapedCommand, escapedArgs, {
215+
const childProcess = spawn(command, escapedArgs, {
217216
stdio: "inherit",
218217
pwd: PROJECT_DIR,
219218
shell: true,

0 commit comments

Comments
 (0)