Skip to content

Commit 5f1f071

Browse files
authored
Merge pull request #2300 from lizardruss/fix-2298
fix: fatal error during devspace init
2 parents 8c393e2 + 25bc24e commit 5f1f071

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cmd/init.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@ import (
55
"context"
66
"fmt"
77
"io/ioutil"
8-
"mvdan.cc/sh/v3/expand"
98
"os"
109
"path/filepath"
1110
"regexp"
1211
"strconv"
1312
"strings"
1413

14+
"mvdan.cc/sh/v3/expand"
15+
1516
"github.com/loft-sh/devspace/pkg/devspace/compose"
1617
"github.com/loft-sh/devspace/pkg/devspace/config/localcache"
1718
"github.com/sirupsen/logrus"
@@ -803,6 +804,7 @@ func (cmd *InitCmd) render(f factory.Factory, config *latest.Config) (string, er
803804
SkipBuild: true,
804805
Render: true,
805806
RenderWriter: writer,
807+
Log: &log.DiscardLogger{},
806808
}
807809
err = renderCmd.RunDefault(f)
808810
if err != nil {

0 commit comments

Comments
 (0)