diff options
author | Felix Yan <felixonmars@archlinux.org> | 2021-09-16 16:13:20 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-09-23 17:25:26 +0300 |
commit | 6535dd95995df20e4c5e43c9839bed231df865c6 (patch) | |
tree | e5304962cda786a0ee57260921083ecc50fde2f7 /lib | |
parent | eafd55eae219a6c15d2857d06b673a67d7f7d060 (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.js | 2 |
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() |