mirror of
https://github.com/grafana/grafana.git
synced 2026-08-13 06:34:55 -05:00
fix: only run gofmt on pkg directory omitting vendor directory
This commit is contained in:
+2
-2
@@ -118,8 +118,8 @@
|
||||
"prettier --write",
|
||||
"git add"
|
||||
],
|
||||
"*.go": [
|
||||
"gofmt -w -s pkg",
|
||||
"*pkg/**/*.go": [
|
||||
"gofmt -w -s",
|
||||
"git add"
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user