Skip to content

Commit

Permalink
Nonzero, not zero
Browse files Browse the repository at this point in the history
  • Loading branch information
nvie committed Jan 19, 2019
1 parent 7e9e9b1 commit b49e97f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ yarn run test
VERSION="$(cat package.json | jq -r .version)"
GITHUB_URL="$(cat package.json | jq -r .githubUrl)"

if [ -z "$(GITHUB_URL)" ]; then
if [ -n "$(GITHUB_URL)" ]; then
echo 'Please specify `githubUrl` in package.json.' >&2
exit 5
fi
Expand Down

0 comments on commit b49e97f

Please sign in to comment.