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:
authorRuy Adorno <ruyadorno@hotmail.com>2020-11-20 00:12:44 +0300
committernlf <quitlahok@gmail.com>2020-11-20 21:56:59 +0300
commit5fc56b6dbcc7d7d1463a761abb67d2fc16ad3657 (patch)
tree8ac3686c50d2709c33f6eedf42db6c03ffcd9806 /tap-snapshots
parente1a2837809a76896523cdfcbce7537e46f71d67e (diff)
fix: npm unstar
- Refactored lib/star.js - Fixes `npm unstar` by adding a lib/unstar.js alias/cmd - Add tests for lib/star.js and lib/unstar.js Fixes: https://github.com/npm/statusboard/issues/174 PR-URL: https://github.com/npm/cli/pull/2204 Credit: @ruyadorno Close: #2204 Reviewed-by: @nlf
Diffstat (limited to 'tap-snapshots')
-rw-r--r--tap-snapshots/test-lib-utils-cmd-list.js-TAP.test.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/tap-snapshots/test-lib-utils-cmd-list.js-TAP.test.js b/tap-snapshots/test-lib-utils-cmd-list.js-TAP.test.js
index c77da6b18..36066b576 100644
--- a/tap-snapshots/test-lib-utils-cmd-list.js-TAP.test.js
+++ b/tap-snapshots/test-lib-utils-cmd-list.js-TAP.test.js
@@ -94,7 +94,6 @@ Object {
"udpate": "update",
"un": "uninstall",
"unlink": "uninstall",
- "unstar": "star",
"up": "update",
"upgrade": "update",
"urn": "run-script",
@@ -125,6 +124,7 @@ Object {
"publish",
"star",
"stars",
+ "unstar",
"adduser",
"login",
"logout",
@@ -189,7 +189,6 @@ Object {
"t": "test",
"tst": "test",
"un": "uninstall",
- "unstar": "star",
"up": "update",
"v": "view",
"why": "explain",