From 5debadfde1ccff80be6db8a1cb5e3fb5ab55089a Mon Sep 17 00:00:00 2001 From: arturs Date: Wed, 10 Mar 2021 22:10:44 +0200 Subject: [PATCH] remove redundant code --- plugins/git/internal-functions | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/git/internal-functions b/plugins/git/internal-functions index 6c558cbaa..e2ec08af1 100755 --- a/plugins/git/internal-functions +++ b/plugins/git/internal-functions @@ -201,10 +201,8 @@ cmd-git-sync() { exit 15 fi else - dokku_log_fail "Missing tty, please run git:unlock command" + dokku_log_fail "Run 'git:unlock' to remove the existing temporary clone" fi - else - dokku_log_info1 "No need to unlock app, carrying on with build" fi if [[ -z "$GIT_REMOTE" ]]; then @@ -246,9 +244,7 @@ cmd-git-unlock() { else dokku_log_info1 "No clone folder exists app already unlocked" fi - } - cmd-git-public-key() { declare desc="outputs the dokku public deploy key" local cmd="git:public-key"