Skip to content

Commit

Permalink
Add shebang to update Node modules script
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Mercer committed Jun 11, 2024
1 parent 358d5e7 commit 2838ced
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/script/update-node-modules.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/bash
set -eu

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

0 comments on commit 2838ced

Please sign in to comment.