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:
1 parent
2a76f7c3b3
commit
3cc1b42160
1 file changed
+1
-1
@@ -38,7 +38,7 @@ is_git_repo() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
has_dokku_remote() {
|
has_dokku_remote() {
|
||||||
git remote show dokku &>/dev/null
|
git remote show | grep dokku
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ -z $DOKKU_HOST ]]; then
|
if [[ -z $DOKKU_HOST ]]; then
|
||||||
|
|||||||
Reference in new issue
Block a user