chore(is-clean.sh): fix branch check
This commit is contained in:
parent
289ce8acf8
commit
16a1c1effe
@ -15,7 +15,7 @@ fi
|
||||
|
||||
branch="$(git rev-parse --abbrev-ref HEAD)"
|
||||
|
||||
if [ $branch != "master" && $branch != "test" ]; then
|
||||
if [[ $branch != "master" && $branch != "test" ]]; then
|
||||
echo "Not on master or test" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user