mirror of https://github.com/mindoc-org/mindoc.git
pull/83/merge
parent
9223966ed8
commit
83415b8572
|
@ -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)
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue