Fix updateServerPackageData to return all data, not just the first page

This commit is contained in:
Emily Stark
2014-07-22 23:06:02 -07:00
parent 1e1f4b2e8a
commit 61bf03c8d3

View File

@@ -184,7 +184,7 @@ exports.updateServerPackageData = function (cachedServerData) {
// If we are not done, keep trying!
if (!remoteData.upToDate) {
this.updateServerPackageData(data);
data = this.updateServerPackageData(data);
}
return data;