From 0bc883f80c9092f0c50c1aed0ed0f278fa644fad Mon Sep 17 00:00:00 2001 From: Jorge Bucaran Date: Tue, 23 Feb 2016 14:45:59 +0900 Subject: [PATCH] Remove debug statements inside __fisher_index_update to avoid Spin fail. --- functions/__fisher_index_update.fish | 6 ------ 1 file changed, 6 deletions(-) diff --git a/functions/__fisher_index_update.fish b/functions/__fisher_index_update.fish index a432e19..be59550 100644 --- a/functions/__fisher_index_update.fish +++ b/functions/__fisher_index_update.fish @@ -7,8 +7,6 @@ function __fisher_index_update -a timeout end end - debug "Update index with timeout '%.1f'" $timeout - set -l url $fisher_index set -l index $fisher_cache/.index.tmp @@ -18,13 +16,9 @@ function __fisher_index_update -a timeout end if not curl --max-time $timeout -sS "$url" > $index - debug "Update index fail" - command rm -f $index return 1 end - debug "Update index complete" - command mv -f $index $fisher_cache/.index end