From 031dbfad74287dbf6bc20184b6ec6a5750d30405 Mon Sep 17 00:00:00 2001 From: dmathieu <42@dmathieu.com> Date: Tue, 23 Jul 2024 11:11:16 +0200 Subject: [PATCH] remove trailing slash in mod init --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cff6246..d8bfe68 100644 --- a/Makefile +++ b/Makefile @@ -150,7 +150,7 @@ gen-modules/%: @echo "Initializing module in $(DIR)" \ && cd $(DIR) \ && rm -f go.mod go.sum \ - && $(GO) mod init go.opentelemetry.io/proto/$(DIR) + && $(GO) mod init go.opentelemetry.io/proto/$(DIR:/=) .PHONY: copy-otlp-protobuf-slim copy-otlp-protobuf-slim: