Skip to content

Commit 00f636d

Browse files
committed
Ignore old apis
1 parent cc10dc9 commit 00f636d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

hub.go

+5-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,11 @@ func checkCmd(m []byte) {
206206
tool = args[1]
207207
}
208208
if len(args) > 2 {
209-
toolVersion = args[2]
209+
if strings.HasPrefix(args[2], "http") {
210+
//old APIs, ignore this field
211+
} else {
212+
toolVersion = args[2]
213+
}
210214
}
211215
if len(args) > 3 {
212216
pack = args[3]

0 commit comments

Comments
 (0)