From 25bc24e03cb67e674565a1690f90074d0bcf31d4 Mon Sep 17 00:00:00 2001 From: Russell Centanni Date: Mon, 12 Sep 2022 10:41:30 -0400 Subject: [PATCH] fix: fatal error during devspace init --- cmd/init.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/init.go b/cmd/init.go index 35bd227aa6..e4ad2c2cb9 100644 --- a/cmd/init.go +++ b/cmd/init.go @@ -5,13 +5,14 @@ import ( "context" "fmt" "io/ioutil" - "mvdan.cc/sh/v3/expand" "os" "path/filepath" "regexp" "strconv" "strings" + "mvdan.cc/sh/v3/expand" + "github.com/loft-sh/devspace/pkg/devspace/compose" "github.com/loft-sh/devspace/pkg/devspace/config/localcache" "github.com/sirupsen/logrus" @@ -803,6 +804,7 @@ func (cmd *InitCmd) render(f factory.Factory, config *latest.Config) (string, er SkipBuild: true, Render: true, RenderWriter: writer, + Log: &log.DiscardLogger{}, } err = renderCmd.RunDefault(f) if err != nil {