We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7ab7efc + 6693b23 commit 08133caCopy full SHA for 08133ca
Makefile.common
@@ -49,7 +49,7 @@ endif
49
GOTEST := $(GO) test
50
GOTEST_DIR :=
51
ifneq ($(CIRCLE_JOB),)
52
-ifneq ($(shell which gotestsum),)
+ifneq ($(shell command -v gotestsum > /dev/null),)
53
GOTEST_DIR := test-results
54
GOTEST := gotestsum --junitfile $(GOTEST_DIR)/unit-tests.xml --
55
endif
@@ -178,7 +178,7 @@ endif
178
.PHONY: common-yamllint
179
common-yamllint:
180
@echo ">> running yamllint on all YAML files in the repository"
181
-ifeq (, $(shell which yamllint))
+ifeq (, $(shell command -v yamllint > /dev/null))
182
@echo "yamllint not installed so skipping"
183
else
184
yamllint .
0 commit comments