mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2025-03-05 20:49:04 -08:00
fix(notice): extend timeout to 5 seconds
This commit is contained in:
parent
a65abd25a5
commit
b63009d3ff
|
@ -42,7 +42,7 @@ To enable automated upgrades, set 'auto_upgrade' to 'true' in your configuration
|
||||||
)
|
)
|
||||||
|
|
||||||
func Latest(env runtime.Environment) (string, error) {
|
func Latest(env runtime.Environment) (string, error) {
|
||||||
body, err := env.HTTPRequest(RELEASEURL, nil, 1000)
|
body, err := env.HTTPRequest(RELEASEURL, nil, 5000)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue