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
path: root/lib
diff options
context:
space:
mode:
authorFelix Yan <felixonmars@archlinux.org>2021-09-16 16:13:20 +0300
committerGar <gar+gh@danger.computer>2021-09-23 17:25:26 +0300
commit6535dd95995df20e4c5e43c9839bed231df865c6 (patch)
treee5304962cda786a0ee57260921083ecc50fde2f7 /lib
parenteafd55eae219a6c15d2857d06b673a67d7f7d060 (diff)
chore: correct a typo in lib/deprecate.js
PR-URL: https://github.com/npm/cli/pull/3766 Credit: @felixonmars Close: #3766 Reviewed-by: @wraithgar
Diffstat (limited to 'lib')
-rw-r--r--lib/deprecate.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/deprecate.js b/lib/deprecate.js
index 156bbf875..c1f7ee629 100644
--- a/lib/deprecate.js
+++ b/lib/deprecate.js
@@ -49,7 +49,7 @@ class Deprecate extends BaseCommand {
}
async deprecate ([pkg, msg]) {
- // msg == null becase '' is a valid value, it indicates undeprecate
+ // msg == null because '' is a valid value, it indicates undeprecate
if (!pkg || msg == null)
throw this.usageError()