Skip to content

Commit af940f5

Browse files
committed
don't specify defaults
1 parent 45b1790 commit af940f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

java/ql/automodel/publish.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ if ! git diff --quiet; then
1818
fi
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
2424
fi
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
2828
fi
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
3232
fi

0 commit comments

Comments
 (0)