summaryrefslogtreecommitdiffstats
path: root/pkg/updates
diff options
context:
space:
mode:
authorDawid Dziurla <dawidd0811@gmail.com>2019-09-15 11:19:39 +0200
committerJesse Duffield <jessedduffield@gmail.com>2019-09-24 19:01:40 +1000
commit379dcf0972d55cb16f3d58cd475988ca2a9c5915 (patch)
treedb1e6861b10fa35885f2ed8d31c872f1bf1ee9e1 /pkg/updates
parent0d25d113c9a64be71e1a1a6756a22efc6a35d01d (diff)
UserConfigPath -> UserConfigDir
Diffstat (limited to 'pkg/updates')
-rw-r--r--pkg/updates/updates.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/updates/updates.go b/pkg/updates/updates.go
index 60ba31882..aa5b65287 100644
--- a/pkg/updates/updates.go
+++ b/pkg/updates/updates.go
@@ -260,7 +260,7 @@ func (u *Updater) downloadAndInstall(rawUrl string) error {
}
g := new(getter.HttpGetter)
- configDir := filepath.Dir(u.Config.GetUserConfigPath())
+ configDir := u.Config.GetUserConfigDir()
u.Log.Info("Download directory is " + configDir)
// Get it!