diff --git a/.github/workflows/script/update-node-modules.sh b/.github/workflows/script/update-node-modules.sh index daef107f91..cfcb0e5d40 100755 --- a/.github/workflows/script/update-node-modules.sh +++ b/.github/workflows/script/update-node-modules.sh @@ -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