Skip to content

Commit

Permalink
Merge pull request #2300 from lizardruss/fix-2298
Browse files Browse the repository at this point in the history
fix: fatal error during devspace init
  • Loading branch information
FabianKramm authored Sep 12, 2022
2 parents 8c393e2 + 25bc24e commit 5f1f071
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 5f1f071

Please sign in to comment.