Skip to content

fix: remove extra filepath.Join() for config directory#76

Open
theantichris wants to merge 1 commit intoSourcewareLab:devfrom
theantichris:fix/config-path
Open

fix: remove extra filepath.Join() for config directory#76
theantichris wants to merge 1 commit intoSourcewareLab:devfrom
theantichris:fix/config-path

Conversation

@theantichris
Copy link
Contributor

In config.go after getCfgDir() returns it was using filepath.Join() to add an additional toney directory to the config path making the config dir ~/.config/toney/toney instead of ~/.config/toney.

This PR removes the extra filepath.Join() and saves the results of getCfgDir() to configDir.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant