1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Fixes #35: TextFile only opens files in ~/.wtf/

This commit is contained in:
Chris Cummer
2018-05-11 12:28:01 -07:00
parent 89b1b0f517
commit 8e46547d1c
3 changed files with 13 additions and 9 deletions

View File

@@ -72,7 +72,7 @@ func LoadConfigFile(filePath string) *config.Config {
return cfg
}
func ReadFile(fileName string) (string, error) {
func ReadConfigFile(fileName string) (string, error) {
configDir, err := ConfigDir()
if err != nil {
return "", err