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

fix(ns-bundle): remove command escaping when spawning child process #218

Merged
merged 1 commit into from
Jul 12, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions bin/ns-bundle
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,8 @@ function getCommand(flags) {
function spawnChildProcess(command, ...args) {
return new Promise((resolve, reject) => {
const escapedArgs = args.map(escapeWithQuotes)
const escapedCommand = escapeWithQuotes(command)

const childProcess = spawn(escapedCommand, escapedArgs, {
const childProcess = spawn(command, escapedArgs, {
stdio: "inherit",
pwd: PROJECT_DIR,
shell: true,
Expand Down