fix: Check if the argument is an empty string (#1474)
This commit is contained in:
parent
e1d4584770
commit
5e190aad3c
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user