Skip to content

Commit

Permalink
Add null check for GH token
Browse files Browse the repository at this point in the history
  • Loading branch information
stripedpajamas committed Dec 22, 2018
1 parent 1633faf commit 85da65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_tags.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ $VSCODIUM_ASSETS= $GITHUB_RESPONSE | jq '.assets'
echo "VSCodium assets: ${VSCODIUM_ASSETS}"

# if we just don't have the github token, get out fast
if (!$env:MAPPED_GITHUB_TOKEN -like "*GITHUB_TOKEN*") {
if (!$env:MAPPED_GITHUB_TOKEN -or $env:MAPPED_GITHUB_TOKEN -like "*GITHUB_TOKEN*") {
echo "This build does not have the GH token"
echo $env:MAPPED_GITHUB_TOKEN
return
Expand Down

0 comments on commit 85da65c

Please sign in to comment.