summaryrefslogtreecommitdiff
path: root/settings.go
diff options
context:
space:
mode:
Diffstat (limited to 'settings.go')
-rw-r--r--settings.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.go b/settings.go
index c024d81..c1a7cb8 100644
--- a/settings.go
+++ b/settings.go
@@ -15,7 +15,7 @@ import (
)
func (all *ForgeConfigs) UpdateGoPath(name string, gopath string) bool {
- oldr := all.DeleteByPath(name)
+ oldr := all.DeleteByGoPath(name)
if oldr == nil {
// nothing to update
return false