diff --git a/pinneddata.js b/pinneddata.js index a24293880..0bf9be75f 100644 --- a/pinneddata.js +++ b/pinneddata.js @@ -95,7 +95,7 @@ nThen((waitFor) => { }))); }); }); -}).nThen((waitFor) => { +}).nThen(() => { out.sort((a,b) => (a[1] - b[1])); out.forEach((x) => { console.log(x[0] + ' ' + x[1] + ' MB'); }); });