Skip to content

Commit 20eef74

Browse files
authored
Update common Prometheus files (#892)
Signed-off-by: prombot <[email protected]>
1 parent cb5c8ff commit 20eef74

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile.common

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,11 @@ endif
201201
.PHONY: common-yamllint
202202
common-yamllint:
203203
@echo ">> running yamllint on all YAML files in the repository"
204+
ifeq (, $(shell which yamllint))
205+
@echo "yamllint not installed so skipping"
206+
else
204207
yamllint .
208+
endif
205209

206210
# For backward-compatibility.
207211
.PHONY: common-staticcheck

0 commit comments

Comments
 (0)