From 686e8ded28dc73f7921a3b72175926b70d801e5f Mon Sep 17 00:00:00 2001 From: a1012112796 <1012112796@qq.com> Date: Sat, 15 Jan 2022 19:26:43 +0800 Subject: [PATCH] fix and readd test-vendor step --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ca273fd507..3bea273b10 100644 --- a/Makefile +++ b/Makefile @@ -295,7 +295,7 @@ checks: checks-frontend checks-backend checks-frontend: svg-check .PHONY: checks-backend -checks-backend: swagger-check swagger-validate +checks-backend: test-vendor swagger-check swagger-validate .PHONY: lint lint: lint-frontend lint-backend @@ -371,7 +371,7 @@ vendor: .PHONY: test-vendor test-vendor: vendor - @diff=$$(git diff vendor/); \ + @diff=$$(git diff go.mod go.sum); \ if [ -n "$$diff" ]; then \ echo "Please run 'make vendor' and commit the result:"; \ echo "$${diff}"; \