Skip to content

Commit

Permalink
fix(branding) - misplaced executable.Name()
Browse files Browse the repository at this point in the history
In `settings.Save()`, we were using `executable.Name()` to
generate the config directory, but we should have used
`executable.Config()`.
  • Loading branch information
ess committed Jul 13, 2020
1 parent 3950958 commit 55e718d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings/settings.go
Expand Up @@ -91,7 +91,7 @@ func (s *Settings) Save(cf string) (string, error) {
return "", err
}

if err = os.MkdirAll(filepath.Join(FindHome(), executable.Name()), 0700); err != nil {
if err = os.MkdirAll(filepath.Join(FindHome(), executable.Config()), 0700); err != nil {
return "", err
}

Expand Down

0 comments on commit 55e718d

Please sign in to comment.