Skip to content

Commit 55e718d

Browse files
committed
fix(branding) - misplaced executable.Name()
In `settings.Save()`, we were using `executable.Name()` to generate the config directory, but we should have used `executable.Config()`.
1 parent 3950958 commit 55e718d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

settings/settings.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func (s *Settings) Save(cf string) (string, error) {
9191
return "", err
9292
}
9393

94-
if err = os.MkdirAll(filepath.Join(FindHome(), executable.Name()), 0700); err != nil {
94+
if err = os.MkdirAll(filepath.Join(FindHome(), executable.Config()), 0700); err != nil {
9595
return "", err
9696
}
9797

0 commit comments

Comments
 (0)