Fix branch name not set check

This commit is contained in:
2025-07-04 13:41:50 +09:00
parent fc2feb8d86
commit 05f4a89ae8

View File

@@ -44,7 +44,7 @@ if [ ! -d "${GIT_WEBHOOK_BASE_FOLDER}" ]; then
fi;
# branch name not set
if [ -n "${BRANCH}" ]; then
if [ -z "${BRANCH}" ]; then
echo "[!] No branch name given";
error=1;
fi;