Skip to content

Commit 9a4c370

Browse files
Dimitar KerezovFatme Havaluova
Dimitar Kerezov
authored and
Fatme Havaluova
committed
Fix Bash passing unescaped arguments to node
This fixes #257
1 parent a98d0d3 commit 9a4c370

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/nativescript

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22

33
AB_DIR="`dirname \"$0\"`"
4-
node "$AB_DIR/nativescript.js" $@
4+
node "$AB_DIR/nativescript.js" "$@"

bin/tns

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22

33
AB_DIR="`dirname \"$0\"`"
4-
node "$AB_DIR/nativescript.js" $@
4+
node "$AB_DIR/nativescript.js" "$@"

0 commit comments

Comments
 (0)