From 61bf03c8d38a5f987b4f469952d3f00bcb60e36e Mon Sep 17 00:00:00 2001 From: Emily Stark Date: Tue, 22 Jul 2014 23:06:02 -0700 Subject: [PATCH] Fix updateServerPackageData to return all data, not just the first page --- tools/package-client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/package-client.js b/tools/package-client.js index 2f8c28c3df..a2581f2aa2 100644 --- a/tools/package-client.js +++ b/tools/package-client.js @@ -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;