mirror of
https://github.com/goreleaser/goreleaser.git
synced 2024-12-27 01:33:39 +02:00
fix: pre-commit hook (#2849)
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
This commit is contained in:
parent
45c0e2bcaf
commit
e661f22993
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
FILES=$(git diff --cached --name-only --diff-filter=ACMR)
|
||||
|
||||
gofumpt -s -l -w .
|
||||
gofumpt -l -w .
|
||||
golangci-lint run --new --fix
|
||||
|
||||
git add $FILES
|
||||
|
Loading…
Reference in New Issue
Block a user