From e98e4d3099fc8ff2cdac144fb2c64eb5c0159451 Mon Sep 17 00:00:00 2001 From: 0x1d Date: Fri, 7 Nov 2025 09:51:23 +0100 Subject: [PATCH] fix(scripts): use make fmt-check in pre-commit script --- scripts/pre-commit-check.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/pre-commit-check.sh b/scripts/pre-commit-check.sh index a808beb..ebd135d 100755 --- a/scripts/pre-commit-check.sh +++ b/scripts/pre-commit-check.sh @@ -50,8 +50,8 @@ docker run --rm \ echo '📥 Installing golangci-lint...' 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 + echo '📋 Running go fmt...' + go fmt ./... || exit 1 echo '🔍 Running make lint...' make lint || exit 1