mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-09 09:36:53 +02:00
Add 10 second timeout to index updates.
This commit is contained in:
parent
7353339935
commit
74be9b317e
1 changed files with 1 additions and 1 deletions
|
@ -918,7 +918,7 @@ function __fisher_remote_index_update
|
||||||
|
|
||||||
fish -c "
|
fish -c "
|
||||||
|
|
||||||
curl -s 'https://api.github.com/orgs/fisherman/repos?per_page=100' | awk -v ORS='' '
|
curl --max-time 10 -s 'https://api.github.com/orgs/fisherman/repos?per_page=100' | awk -v ORS='' '
|
||||||
|
|
||||||
{
|
{
|
||||||
gsub(/[{}\[\]]|^[\t ]*/, \"\")
|
gsub(/[{}\[\]]|^[\t ]*/, \"\")
|
||||||
|
|
Loading…
Reference in a new issue