summaryrefslogtreecommitdiff
path: root/update.go
diff options
context:
space:
mode:
Diffstat (limited to 'update.go')
-rw-r--r--update.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.go b/update.go
index f1f1af3..8dce1a0 100644
--- a/update.go
+++ b/update.go
@@ -1,7 +1,7 @@
package forgepb
func (all *Repos) UpdateGoPath(name string, gopath string) bool {
- oldr := all.DeleteByName(name)
+ oldr := all.DeleteByPath(name)
if oldr == nil {
// nothing to update
return false