mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-11 13:57:36 -08:00
unused target didn't trigger an error for unused packages (#4101)
Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
This commit is contained in:
parent
416db814e8
commit
0b0c9f4b6b
|
@ -75,7 +75,7 @@ staticcheck: $(STATICCHECK)
|
|||
|
||||
unused: $(GOVENDOR)
|
||||
@echo ">> running check for unused packages"
|
||||
@$(GOVENDOR) list +unused
|
||||
@$(GOVENDOR) list +unused | grep . && exit 1 || echo 'No unused packages'
|
||||
|
||||
build: promu
|
||||
@echo ">> building binaries"
|
||||
|
|
Loading…
Reference in a new issue