We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2af7c7f commit 87b4873Copy full SHA for 87b4873
config/config.go
@@ -52,7 +52,7 @@ func Load() (*Config, error) {
52
d := Default()
53
54
if _, err := os.Stat(dirs.ConfigPath); errors.Is(err, os.ErrNotExist) {
55
- return d, nil
+ return d, d.Setup()
56
}
57
58
if _, err := toml.DecodeFile(dirs.ConfigPath, &d); err != nil {
0 commit comments