mirror of
https://github.com/github/codeql-action.git
synced 2026-04-11 23:24:15 +00:00
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user