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)"
|
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
|
echo "Not on master or test" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user