mirror of
https://github.com/mindoc-org/mindoc.git
synced 2026-02-27 17:03:57 +08:00
*
This commit is contained in:
@@ -39,7 +39,10 @@ func CheckUpdate() {
|
|||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Println("MinDoc last version => ", result[0].Name)
|
if len(result) > 0 {
|
||||||
|
fmt.Println("MinDoc last version => ", result[0].Name)
|
||||||
|
}
|
||||||
|
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user