mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Fix pre-commit hook
This commit is contained in:
parent
01b34f4f14
commit
6635149f3c
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# This script does not handle file names that contain spaces.
|
||||
|
||||
gofmtcmd=go run golang.org/x/tools/cmd/goimports
|
||||
gofmtcmd="go run golang.org/x/tools/cmd/goimports"
|
||||
|
||||
gofiles=$(git diff --cached --name-only --diff-filter=ACM | grep '.go$')
|
||||
[ -z "$gofiles" ] && exit 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue