From 16a1c1effe10d6f5fec43429a561adf564d9722c Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Fri, 14 Jul 2023 23:38:22 +0000 Subject: [PATCH] chore(is-clean.sh): fix branch check --- is-clean.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/is-clean.sh b/is-clean.sh index 27625702f..b50600b68 100755 --- a/is-clean.sh +++ b/is-clean.sh @@ -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