mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-23 20:36:21 +01: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 New Issue
Block a user