Chore: fix typo (#490)

This commit is contained in:
Jason Chen
2020-01-30 17:03:11 +08:00
committed by GitHub
parent 14fb789002
commit 82c387e92b
3 changed files with 4 additions and 4 deletions

View File

@ -44,8 +44,8 @@ func (p *path) Config() string {
return p.configFile
}
// Reslove return a absolute path or a relative path with homedir
func (p *path) Reslove(path string) string {
// Resolve return a absolute path or a relative path with homedir
func (p *path) Resolve(path string) string {
if !filepath.IsAbs(path) {
return filepath.Join(p.HomeDir(), path)
}