summaryrefslogtreecommitdiff
path: root/update.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-20 21:22:05 -0600
committerJeff Carr <[email protected]>2024-11-20 21:22:05 -0600
commitce06800c41750f901c43cb35bcf9df8863dc3686 (patch)
treeba6fc30078dd4c91d0dd514a83b47ede29fb096e /update.go
parent704d06ba87ac8bc4af4abc1ed88efed82df7127d (diff)
boo. was wrong. had to redo a lot
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