fix: Check if the argument is an empty string (#1474)
This commit is contained in:
parent
e1d4584770
commit
5e190aad3c
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ rvm use 2.7.2 --default
|
||||||
|
|
||||||
git clone https://github.com/chatwoot/chatwoot.git
|
git clone https://github.com/chatwoot/chatwoot.git
|
||||||
cd chatwoot
|
cd chatwoot
|
||||||
if [[ -z $1 ]]; then
|
if [[ -z "$1" ]]; then
|
||||||
git checkout master;
|
git checkout master;
|
||||||
else
|
else
|
||||||
git checkout $1;
|
git checkout $1;
|
||||||
|
|
|
@ -48,7 +48,7 @@ rvm use 2.7.2 --default
|
||||||
|
|
||||||
git clone https://github.com/chatwoot/chatwoot.git
|
git clone https://github.com/chatwoot/chatwoot.git
|
||||||
cd chatwoot
|
cd chatwoot
|
||||||
if [[ -z $1 ]]; then
|
if [[ -z "$1" ]]; then
|
||||||
git checkout master;
|
git checkout master;
|
||||||
else
|
else
|
||||||
git checkout $1;
|
git checkout $1;
|
||||||
|
|
Loading…
Reference in a new issue