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

Commit 43eeaf4

Browse files
authored
fix(ns-bundle): properly get tns command (#170)
fixes #169
1 parent 155f359 commit 43eeaf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: bin/ns-bundle

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ function getCommand(flags) {
181181
throwError({message: `You can't use ${commands.join(", ")} together!`});
182182
}
183183

184-
return commands[0].replace(/-app/, "");
184+
return commands.length && commands[0].replace(/-app/, "");
185185
}
186186

187187
function spawnChildProcess(command, ...args) {

0 commit comments

Comments
 (0)