From 37ad61bb0deac86e4b29cd8f018be1c8792b86d4 Mon Sep 17 00:00:00 2001 From: blam Date: Thu, 6 Feb 2020 04:19:50 +0100 Subject: [PATCH] hack(scaffolder): to get imports to work nicely with the current protobuf setup, we can slightly change the import rewrites in go modules to point to same place without error --- backend/scaffolder/go.mod | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/backend/scaffolder/go.mod b/backend/scaffolder/go.mod index b29a9b6ad3..c8df6d39e9 100644 --- a/backend/scaffolder/go.mod +++ b/backend/scaffolder/go.mod @@ -2,9 +2,10 @@ module github.com/spotify/backstage/scaffolder go 1.13 -replace github.com/spotify/backstage/proto => ../proto - -replace github.com/spotify/backstage/backend/proto => ../proto +replace ( + github.com/spotify/backstage/backend/proto => ./../proto + github.com/spotify/backstage/proto => ../proto +) require ( github.com/golang/protobuf v1.3.3