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