mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-09 23:24:09 -08:00
Fix code style check in "all" make target
The all target should abort on incorrectly formatted code, instead of formatting it. The CI pipeline should fail and not silently accept wrong code. Signed-off-by: Tobias Schmidt <tobidt@gmail.com>
This commit is contained in:
parent
9e485f1157
commit
22e79102e6
2
Makefile
2
Makefile
|
@ -72,7 +72,7 @@ $(eval $(call goarch_pair,arm64,arm))
|
|||
$(eval $(call goarch_pair,mips64,mips))
|
||||
$(eval $(call goarch_pair,mips64el,mipsel))
|
||||
|
||||
all: format vet staticcheck checkmetrics build test $(cross-test) $(test-e2e)
|
||||
all: style vet staticcheck checkmetrics build test $(cross-test) $(test-e2e)
|
||||
|
||||
style:
|
||||
@echo ">> checking code style"
|
||||
|
|
Loading…
Reference in a new issue