Skip to content

Commit 87b4873

Browse files
committed
config: call setup on default
1 parent 2af7c7f commit 87b4873

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func Load() (*Config, error) {
5252
d := Default()
5353

5454
if _, err := os.Stat(dirs.ConfigPath); errors.Is(err, os.ErrNotExist) {
55-
return d, nil
55+
return d, d.Setup()
5656
}
5757

5858
if _, err := toml.DecodeFile(dirs.ConfigPath, &d); err != nil {

0 commit comments

Comments
 (0)