Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/lib/link.js')
-rw-r--r--deps/npm/test/lib/link.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/test/lib/link.js b/deps/npm/test/lib/link.js
index 34c533fb72c..d3e66185280 100644
--- a/deps/npm/test/lib/link.js
+++ b/deps/npm/test/lib/link.js
@@ -27,7 +27,7 @@ const printLinks = async (opts) => {
const arb = new Arborist(opts)
const tree = await arb.loadActual()
const linkedItems = [...tree.inventory.values()]
- .sort((a, b) => a.pkgid.localeCompare(b.pkgid))
+ .sort((a, b) => a.pkgid.localeCompare(b.pkgid, 'en'))
for (const item of linkedItems) {
if (item.target)
res += `${item.path} -> ${item.target.path}\n`