Skip to content

Commit

Permalink
chore: correct a typo in lib/deprecate.js
Browse files Browse the repository at this point in the history
PR-URL: #3766
Credit: @felixonmars
Close: #3766
Reviewed-by: @wraithgar
  • Loading branch information
felixonmars authored and wraithgar committed Sep 23, 2021
1 parent eafd55e commit 6535dd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/deprecate.js
Expand Up @@ -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()

Expand Down

0 comments on commit 6535dd9

Please sign in to comment.