summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 09709a0..0028c3d 100644
--- a/main.go
+++ b/main.go
@@ -82,7 +82,7 @@ func main() {
if me.forge.Config.IsPrivate(p.Name) {
end += "(private) "
}
- if actualp := me.machine.FindVersion(p.Name, p.Version); actualp != nil {
+ if actualp := me.machine.FindByVersion(p.Name, p.Version); actualp != nil {
// end += "(version match) "
} else {
end += "(version mismatch) " + actualp.Version + " " + version + " "