remove redundant code
This commit is contained in:
@@ -201,10 +201,8 @@ cmd-git-sync() {
|
|||||||
exit 15
|
exit 15
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
dokku_log_fail "Missing tty, please run git:unlock command"
|
dokku_log_fail "Run 'git:unlock' to remove the existing temporary clone"
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
dokku_log_info1 "No need to unlock app, carrying on with build"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "$GIT_REMOTE" ]]; then
|
if [[ -z "$GIT_REMOTE" ]]; then
|
||||||
@@ -246,9 +244,7 @@ cmd-git-unlock() {
|
|||||||
else
|
else
|
||||||
dokku_log_info1 "No clone folder exists app already unlocked"
|
dokku_log_info1 "No clone folder exists app already unlocked"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd-git-public-key() {
|
cmd-git-public-key() {
|
||||||
declare desc="outputs the dokku public deploy key"
|
declare desc="outputs the dokku public deploy key"
|
||||||
local cmd="git:public-key"
|
local cmd="git:public-key"
|
||||||
|
|||||||
Reference in New Issue
Block a user