Skip to content

Commit

Permalink
fix: status: unbound variable
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton authored Dec 28, 2023
1 parent 0aec553 commit 9a33bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.bash
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function npm_publish {
delay="$((RANDOM%60))"
echo "waiting ${delay} seconds..."
sleep "$delay"
npm publish "$@" || status=$?
status=0 && npm publish "$@" || status=$?
if test "$?" -eq 429; then
npm_publish "$@"
fi
Expand Down

0 comments on commit 9a33bf5

Please sign in to comment.