File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,15 +18,15 @@ if ! git diff --quiet; then
1818fi
1919
2020# Check the above environment variables are set
21- if [ -z " ${GITHUB_TOKEN:- } " ]; then
21+ if [ -z " ${GITHUB_TOKEN} " ]; then
2222 echo " Error: GITHUB_TOKEN environment variable not set. Please set this to a token with package:write permissions to codeql."
2323 exit 1
2424fi
25- if [ -z " ${CODEQL_DIST:- } " ]; then
25+ if [ -z " ${CODEQL_DIST} " ]; then
2626 echo " Error: CODEQL_DIST environment variable not set. Please set this to the path of a codeql distribution."
2727 exit 1
2828fi
29- if [ -z " ${GH_TOKEN:- } " ]; then
29+ if [ -z " ${GH_TOKEN} " ]; then
3030 echo " Error: GH_TOKEN environment variable not set. Please set this to a token with repo permissions to github/codeml-automodel."
3131 exit 1
3232fi
You can’t perform that action at this time.
0 commit comments