mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-30 02:32:29 +00:00
fix: Check if the argument is an empty string (#1474)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user