mirror of
https://github.com/jorgebucaran/fisher
synced 2024-10-05 09:32:37 +02:00
Remove debug statements inside __fisher_index_update to avoid Spin fail.
This commit is contained in:
parent
04246b5ea7
commit
0bc883f80c
1 changed files with 0 additions and 6 deletions
|
@ -7,8 +7,6 @@ function __fisher_index_update -a timeout
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
debug "Update index with timeout '%.1f'" $timeout
|
|
||||||
|
|
||||||
set -l url $fisher_index
|
set -l url $fisher_index
|
||||||
set -l index $fisher_cache/.index.tmp
|
set -l index $fisher_cache/.index.tmp
|
||||||
|
|
||||||
|
@ -18,13 +16,9 @@ function __fisher_index_update -a timeout
|
||||||
end
|
end
|
||||||
|
|
||||||
if not curl --max-time $timeout -sS "$url" > $index
|
if not curl --max-time $timeout -sS "$url" > $index
|
||||||
debug "Update index fail"
|
|
||||||
|
|
||||||
command rm -f $index
|
command rm -f $index
|
||||||
return 1
|
return 1
|
||||||
end
|
end
|
||||||
|
|
||||||
debug "Update index complete"
|
|
||||||
|
|
||||||
command mv -f $index $fisher_cache/.index
|
command mv -f $index $fisher_cache/.index
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue