diff --git a/Makefile b/Makefile index c421e6960..b194fd6bb 100644 --- a/Makefile +++ b/Makefile @@ -127,7 +127,7 @@ MODFILES := $(shell find . -name go.mod) define modtidy-target .PHONY: modtidy-$(1) modtidy-$(1): - cd $(shell dirname $(1)); go mod tidy -compat=1.19; cd - + cd $(shell dirname $(1)); go mod tidy -compat=1.19 || { echo "There was an error in running go mod tidy for this file,"; exit 1;}; cd - endef define replaceruntime-dapr