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:
@@ -118,8 +118,8 @@
|
|||||||
"prettier --write",
|
"prettier --write",
|
||||||
"git add"
|
"git add"
|
||||||
],
|
],
|
||||||
"*.go": [
|
"*pkg/**/*.go": [
|
||||||
"gofmt -w -s pkg",
|
"gofmt -w -s",
|
||||||
"git add"
|
"git add"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user