Skip to content

Commit

Permalink
fix: validate.sh will failed if there are spaces in node's path
Browse files Browse the repository at this point in the history
  • Loading branch information
TaiYou-TW committed Feb 29, 2024
1 parent 9671d55 commit 332349a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lab1/validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cd $tmp_dir

rm -rf *
cp $solution_path/*.js .
result=$($node --test --experimental-test-coverage) ; ret=$?
result=$($"node" --test --experimental-test-coverage) ; ret=$?
if [ $ret -ne 0 ] ; then
echo "[!] testing fails"
exit 1
Expand Down

0 comments on commit 332349a

Please sign in to comment.