From dd682919a8a8d31199a4cfd3ed2e7c8a1d24289e Mon Sep 17 00:00:00 2001 From: Zheng Xi Zhou Date: Wed, 2 Jun 2021 22:37:39 +0800 Subject: [PATCH] Fix wrong cue directory (#1749) Fixed the wrong directory of cue files when formating --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 129716a8c..30db29a11 100644 --- a/Makefile +++ b/Makefile @@ -119,7 +119,8 @@ run: fmt vet fmt: goimports installcue go fmt ./... $(GOIMPORTS) -local github.com/oam-dev/kubevela -w $$(go list -f {{.Dir}} ./...) - $(CUE) fmt ./hack/vela-templates/cue/* + $(CUE) fmt ./vela-templates/internal/cue/* + $(CUE) fmt ./vela-templates/registry/cue/* # Run go vet against code vet: