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
18
18
fi
19
19
20
20
# Check the above environment variables are set
21
- if [ -z " ${GITHUB_TOKEN:- } " ]; then
21
+ if [ -z " ${GITHUB_TOKEN} " ]; then
22
22
echo " Error: GITHUB_TOKEN environment variable not set. Please set this to a token with package:write permissions to codeql."
23
23
exit 1
24
24
fi
25
- if [ -z " ${CODEQL_DIST:- } " ]; then
25
+ if [ -z " ${CODEQL_DIST} " ]; then
26
26
echo " Error: CODEQL_DIST environment variable not set. Please set this to the path of a codeql distribution."
27
27
exit 1
28
28
fi
29
- if [ -z " ${GH_TOKEN:- } " ]; then
29
+ if [ -z " ${GH_TOKEN} " ]; then
30
30
echo " Error: GH_TOKEN environment variable not set. Please set this to a token with repo permissions to github/codeml-automodel."
31
31
exit 1
32
32
fi
You can’t perform that action at this time.
0 commit comments