Return early when git changes are denied

This commit is contained in:
Matt Keeler 2018-06-18 12:33:59 -04:00
parent b739bbfefe
commit 31b918d554
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ function main {
commit_dev_mode "${sdir}" || return 1
status_stage "==> Confirming Git Changes"
confirm_git_push_changes "${sdir}"
confirm_git_push_changes "${sdir}" || return 1
status_stage "==> Pushing to Git"
git_push_ref "$1" || return 1