Fix has_dokku_remote
`git remote show <remote>` seems to really check if the remote is a git repo whereas we just want to know if a remote named "dokku" is present
This commit is contained in:
@@ -38,7 +38,7 @@ is_git_repo() {
|
||||
}
|
||||
|
||||
has_dokku_remote() {
|
||||
git remote show dokku &>/dev/null
|
||||
git remote show | grep dokku
|
||||
}
|
||||
|
||||
if [[ -z $DOKKU_HOST ]]; then
|
||||
|
||||
Reference in New Issue
Block a user