Skip to content

Commit

Permalink
fix: Check if the argument is an empty string (#1474)
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavrajs committed Dec 4, 2020
1 parent e1d4584 commit 5e190aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deployment/setup_18.04.sh
Expand Up @@ -48,7 +48,7 @@ rvm use 2.7.2 --default
git clone https://github.com/chatwoot/chatwoot.git
cd chatwoot
if [[ -z $1 ]]; then
if [[ -z "$1" ]]; then
git checkout master;
else
git checkout $1;
Expand Down
2 changes: 1 addition & 1 deletion deployment/setup_20.04.sh
Expand Up @@ -48,7 +48,7 @@ rvm use 2.7.2 --default
git clone https://github.com/chatwoot/chatwoot.git
cd chatwoot
if [[ -z $1 ]]; then
if [[ -z "$1" ]]; then
git checkout master;
else
git checkout $1;
Expand Down

0 comments on commit 5e190aa

Please sign in to comment.