From 240311e540e5d605f44902573d67916e3a05688e Mon Sep 17 00:00:00 2001 From: bicochan Date: Thu, 26 Feb 2026 14:14:04 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20pre-push=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .husky/pre-push | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.husky/pre-push b/.husky/pre-push index 82c73e102..5d858c3ae 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -1,3 +1,8 @@ #!/bin/sh BRANCH=$(git rev-parse --abbrev-ref HEAD) -pnpm turbo run build --filter="...[origin/$BRANCH]" +REMOTE_REF="origin/$BRANCH" +if git rev-parse --verify "$REMOTE_REF" >/dev/null 2>&1; then + pnpm turbo run build --filter="...[$REMOTE_REF]" +else + pnpm turbo run build +fi