Skip to content

Commit

Permalink
Merge pull request #2331 from github/igfoo/bash
Browse files Browse the repository at this point in the history
Fix bash syntax
  • Loading branch information
igfoo authored Jun 12, 2024
2 parents 81b8143 + b0944a2 commit 945bb87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/script/update-node-modules.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -eu

if [ "$1" != "update" && "$1" != "check-only" ]; then
if [ "$1" != "update" ] && [ "$1" != "check-only" ]; then
>&2 echo "Failed: Invalid argument. Must be 'update' or 'check-only'"
exit 1
fi
Expand Down

0 comments on commit 945bb87

Please sign in to comment.