mirror of https://github.com/statping/statping
vue
parent
5e1b92a313
commit
b0ce98074e
|
@ -188,6 +188,9 @@ func updateDisplay() error {
|
||||||
fmt.Printf("Issue connecting to https://github.com/hunterlong/statping\n%v\n", err)
|
fmt.Printf("Issue connecting to https://github.com/hunterlong/statping\n%v\n", err)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
if len(gitCurrent.TagName) < 2 {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
if VERSION != gitCurrent.TagName[1:] {
|
if VERSION != gitCurrent.TagName[1:] {
|
||||||
fmt.Printf("\nNew Update %v Available!\n", gitCurrent.TagName[1:])
|
fmt.Printf("\nNew Update %v Available!\n", gitCurrent.TagName[1:])
|
||||||
fmt.Printf("Update Command:\n")
|
fmt.Printf("Update Command:\n")
|
||||||
|
|
Loading…
Reference in New Issue