Skip to content

Commit

Permalink
fix: use correct data path for alias and env files
Browse files Browse the repository at this point in the history
  • Loading branch information
doron-cohen committed Nov 9, 2020
1 parent 446b679 commit 96c90db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/utils/appdirs.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func (a appDirs) GetDataFilePath(fileName string) string {
}

func (a appDirs) GetDataFile(fileName string) (string, error) {
relPath := a.GetDataFilePath(fileName)
relPath := filepath.Join(a.AppName, fileName)
return xdg.DataFile(relPath)
}

Expand Down

0 comments on commit 96c90db

Please sign in to comment.