Skip to content

Commit bace8e3

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

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)