From 8eda9af769267608bbb0d3610b4b2ff2bfe43b3d Mon Sep 17 00:00:00 2001 From: 0x1d Date: Fri, 7 Nov 2025 09:54:00 +0100 Subject: [PATCH] fix(scripts): ensure working directory is correct for make commands --- scripts/pre-commit-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pre-commit-check.sh b/scripts/pre-commit-check.sh index 316dcc2..5057401 100755 --- a/scripts/pre-commit-check.sh +++ b/scripts/pre-commit-check.sh @@ -51,7 +51,7 @@ docker run --rm \ curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b /root/go/bin || exit 1 echo '📋 Running make fmt-check...' - make fmt-check || exit 1 + cd /workspace && make fmt-check || exit 1 echo '🔍 Running make lint...' make lint || exit 1