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

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Jenkins <brian@npmjs.com>2020-09-29 20:59:23 +0300
committerGitHub <noreply@github.com>2020-09-29 20:59:23 +0300
commit405e051f724a2e79844f78f8ea9ba019fdc513aa (patch)
tree1283776a62863a1f69fe18d7f0a600a5710c90e3 /tap-snapshots
parent9bc69667f01d2a571cb2ce36927057b099863882 (diff)
Fix EBADPLATFORM error message (#1876)
* Fix EBADPLATFORM error message Error format evolved out from under message generation's expectations. * Fix formatting
Diffstat (limited to 'tap-snapshots')
-rw-r--r--tap-snapshots/test-lib-utils-error-message.js-TAP.test.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tap-snapshots/test-lib-utils-error-message.js-TAP.test.js b/tap-snapshots/test-lib-utils-error-message.js-TAP.test.js
index 921cc06b9..21fff0b87 100644
--- a/tap-snapshots/test-lib-utils-error-message.js-TAP.test.js
+++ b/tap-snapshots/test-lib-utils-error-message.js-TAP.test.js
@@ -161,7 +161,7 @@ Object {
"summary": Array [
Array [
"notsup",
- "Unsupported platform for undefined: wanted {\\"os\\":\\"!yours,mine\\",\\"arch\\":\\"x420,x69\\"} (current: {\\"os\\":\\"posix\\",\\"arch\\":\\"x64\\"})",
+ "Unsupported platform for lodash@1.0.0: wanted {\\"os\\":\\"!yours,mine\\",\\"arch\\":\\"x420,x69\\"} (current: {\\"os\\":\\"posix\\",\\"arch\\":\\"x64\\"})",
],
],
}
@@ -178,7 +178,7 @@ Object {
"summary": Array [
Array [
"notsup",
- "Unsupported platform for undefined: wanted {\\"os\\":\\"!yours\\",\\"arch\\":\\"x420\\"} (current: {\\"os\\":\\"posix\\",\\"arch\\":\\"x64\\"})",
+ "Unsupported platform for lodash@1.0.0: wanted {\\"os\\":\\"!yours\\",\\"arch\\":\\"x420\\"} (current: {\\"os\\":\\"posix\\",\\"arch\\":\\"x64\\"})",
],
],
}