fix formatting according to shfmt

This commit is contained in:
arturs committed 2021-03-07 15:37:40 +02:00
1 parent 58dca68fb4
commit 741ea68cac
1 file changed
+5 -5
+5 -5
View File
@@ -194,14 +194,14 @@ cmd-git-sync() {
verify_app_name "$APP"
if [[ -d "$DOKKU_LIB_ROOT/data/git/$APP" ]]; then
if has_tty eq 0 ; then
cmd-git-unlock "$APP"
if has_tty eq 0; then
cmd-git-unlock "$APP"
if [[ -d "$DOKKU_LIB_ROOT/data/git/$APP" ]]; then
dokku_log_fail "Failed to delete existing clone folder"
exit 15
dokku_log_fail "Failed to delete existing clone folder"
exit 15
fi
else
dokku_log_fail "Missing tty, try running ssh -t which will allocate new tty for you"
dokku_log_fail "Missing tty, try running ssh -t which will allocate new tty for you"
fi
else
dokku_log_info1 "No need to unlock app, carrying on with build"