From 597caba867e9206a18b04e0e304632f3b266da17 Mon Sep 17 00:00:00 2001 From: Tomaz Cunha Date: Mon, 11 May 2020 21:02:41 -0300 Subject: [PATCH 1/2] Altered isntall to install. --- lib/config/cmd-list.js | 2 +- lib/npm.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/config/cmd-list.js b/lib/config/cmd-list.js index d9d0d85b7d520..604c0660ea35a 100644 --- a/lib/config/cmd-list.js +++ b/lib/config/cmd-list.js @@ -28,7 +28,7 @@ var affordances = { 'verison': 'version', 'ic': 'ci', 'innit': 'init', - 'isntall': 'install', + 'install': 'install', 'install-clean': 'ci', 'isntall-clean': 'ci', 'dist-tags': 'dist-tag', diff --git a/lib/npm.js b/lib/npm.js index 74ef6ad2c6e74..9e200401c9182 100644 --- a/lib/npm.js +++ b/lib/npm.js @@ -92,7 +92,7 @@ var commandCache = {} var aliasNames = Object.keys(aliases) - var littleGuys = [ 'isntall', 'verison' ] + var littleGuys = [ 'install', 'verison' ] var fullList = cmdList.concat(aliasNames).filter(function (c) { return plumbing.indexOf(c) === -1 }) From 3797d68760960c4b732012074ab5ebaa1dc9db54 Mon Sep 17 00:00:00 2001 From: Tomaz Cunha Date: Mon, 11 May 2020 21:09:54 -0300 Subject: [PATCH 2/2] Removing repeated 'isntall-clean': 'ci'. --- lib/config/cmd-list.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/config/cmd-list.js b/lib/config/cmd-list.js index 604c0660ea35a..af1e8d6a9e9b4 100644 --- a/lib/config/cmd-list.js +++ b/lib/config/cmd-list.js @@ -30,7 +30,6 @@ var affordances = { 'innit': 'init', 'install': 'install', 'install-clean': 'ci', - 'isntall-clean': 'ci', 'dist-tags': 'dist-tag', 'apihelp': 'help', 'find-dupes': 'dedupe',