mirror of
https://github.com/kataras/iris.git
synced 2025-02-02 15:30:36 +01:00
Fix https://github.com/kataras/iris/issues/570 | no-internet connection but Config.CheckForUpdates is true
This commit is contained in:
parent
fe79fdea44
commit
ced2083ab3
1
iris.go
1
iris.go
|
@ -724,6 +724,7 @@ func (s *Framework) CheckForUpdates(force bool) {
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
writer.Write([]byte("Update failed: " + err.Error()))
|
writer.Write([]byte("Update failed: " + err.Error()))
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
updated = updater.Run(fs.Stdout(writer), fs.Stderr(writer), fs.Silent(false))
|
updated = updater.Run(fs.Stdout(writer), fs.Stderr(writer), fs.Silent(false))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user