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 ae834c6 commit c3f211cCopy full SHA for c3f211c
internal/boxcli/global.go
@@ -5,7 +5,6 @@ package boxcli
5
6
import (
7
"fmt"
8
- "os"
9
10
"github.com/pkg/errors"
11
"github.com/spf13/cobra"
@@ -65,7 +64,7 @@ func ensureGlobalConfig() (string, error) {
65
64
return "", err
66
}
67
err = devbox.EnsureConfig(globalConfigPath)
68
- if err != nil && !errors.Is(err, os.ErrExist) {
+ if err != nil {
69
70
71
return globalConfigPath, nil
0 commit comments