Skip to content

Commit 332349a

Browse files
committed
fix: validate.sh will failed if there are spaces in node's path
1 parent 9671d55 commit 332349a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lab1/validate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ cd $tmp_dir
99

1010
rm -rf *
1111
cp $solution_path/*.js .
12-
result=$($node --test --experimental-test-coverage) ; ret=$?
12+
result=$($"node" --test --experimental-test-coverage) ; ret=$?
1313
if [ $ret -ne 0 ] ; then
1414
echo "[!] testing fails"
1515
exit 1

0 commit comments

Comments
 (0)