Skip to content

Commit

Permalink
fix heroku vars issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rking32 committed Aug 29, 2020
1 parent 1bf02a2 commit 0f6a3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init/checks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ _checkBins() {
_checkGit() {
editLastMessage "Checking GIT ..."
if test ! -d .git; then
if test -n $HEROKU_GIT_URL; then
if test ! -z $HEROKU_GIT_URL; then
replyLastMessage "\tClonning Heroku Git ..."
gitClone $HEROKU_GIT_URL tmp_git || quit "Invalid HEROKU_API_KEY or HEROKU_APP_NAME var !"
mv tmp_git/.git .
Expand Down

0 comments on commit 0f6a3b2

Please sign in to comment.