mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-21 03:44:17 +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