pull/83/merge
Minho 2017-06-14 09:26:32 +08:00
parent 9223966ed8
commit 83415b8572
1 changed files with 4 additions and 1 deletions

View File

@ -39,7 +39,10 @@ func CheckUpdate() {
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)
}