We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3f211c commit 9e4b35cCopy full SHA for 9e4b35c
internal/boxcli/init.go
@@ -10,8 +10,8 @@ import (
10
"github.com/pkg/errors"
11
"github.com/spf13/cobra"
12
13
- "go.jetpack.io/devbox/internal/boxcli/usererr"
14
"go.jetpack.io/devbox/internal/devbox"
+ "go.jetpack.io/devbox/internal/ux"
15
"go.jetpack.io/devbox/pkg/autodetect"
16
)
17
@@ -36,7 +36,8 @@ func initCmd() *cobra.Command {
36
if path == "" || path == "." {
37
path, _ = os.Getwd()
38
}
39
- return usererr.New("devbox.json already exists in %q.", path)
+ ux.Fwarningf(cmd.ErrOrStderr(), "devbox.json already exists in %q.", path)
40
+ err = nil
41
42
return err
43
},
0 commit comments