diff options
Diffstat (limited to 'lib/utils/npm-usage.js')
-rw-r--r-- | lib/utils/npm-usage.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/npm-usage.js b/lib/utils/npm-usage.js index b0c98b2ae..8d31f0155 100644 --- a/lib/utils/npm-usage.js +++ b/lib/utils/npm-usage.js @@ -45,7 +45,7 @@ const wrap = (arr) => { : Math.min(60, Math.max(process.stdout.columns - 16, 24)) let l = 0 - for (const c of arr.sort((a, b) => a < b ? -1 : 1)) { + for (const c of arr) { if (out[l].length + c.length + 2 < line) { out[l] += ', ' + c } else { |