Skip to content

Commit b0944a2

Browse files
committed
Fix bash syntax
This should stop .github/workflows/script/update-node-modules.sh: line 1: [: missing `]'
1 parent 81b8143 commit b0944a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/script/update-node-modules.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -eu
33

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

0 commit comments

Comments
 (0)