mirror of https://github.com/grafana/grafana.git
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