mirror of
https://github.com/prometheus/prometheus.git
synced 2026-04-28 17:49:50 -04:00
Detect code style violations in deeply nested files
So far the style check did not recognize issues in files in deeply nested directories, e.g. retrieval/discovery/kubernetes/discovery.go.
This commit is contained in:
parent
7a0c0c3ca2
commit
d7889e61bb
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -23,7 +23,7 @@ all: format build test
|
|||
|
||||
style:
|
||||
@echo ">> checking code style"
|
||||
@! gofmt -d **/*.go | grep '^'
|
||||
@! gofmt -d $(shell find . -path ./vendor -prune -o -name '*.go' -print) | grep '^'
|
||||
|
||||
test:
|
||||
@echo ">> running tests"
|
||||
|
|
|
|||
Loading…
Reference in a new issue