Skip to content

Commit

Permalink
Fix bash syntax
Browse files Browse the repository at this point in the history
This should stop

    .github/workflows/script/update-node-modules.sh: line 1: [: missing `]'
  • Loading branch information
igfoo committed Jun 12, 2024
1 parent 81b8143 commit b0944a2
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 b0944a2

Please sign in to comment.