Initialize next and last values in ls-remote pagination process.

This commit is contained in:
Jorge Bucaran 2016-05-19 21:31:29 +09:00
parent b530f01692
commit c27de1f20d
No known key found for this signature in database
GPG key ID: E54BA3C0E646DB30

View file

@ -1003,8 +1003,8 @@ function __fisher_remote_index_update
for i in $players
set -l url "https://api.github.com/orgs/$i/repos?per_page=100"
set -l next
set -l last
set -l next 0
set -l last 0
set -l data
if test -s "$index-header-$i"