mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix: only run gofmt on pkg directory omitting vendor directory
This commit is contained in:
parent
b816f18b3d
commit
720711d1fe
@ -118,8 +118,8 @@
|
||||
"prettier --write",
|
||||
"git add"
|
||||
],
|
||||
"*.go": [
|
||||
"gofmt -w -s pkg",
|
||||
"*pkg/**/*.go": [
|
||||
"gofmt -w -s",
|
||||
"git add"
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user