Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
var commandCache = {}
var aliasNames = Object.keys(aliases)

var littleGuys = [ 'isntall', 'verison' ]
var littleGuys = [ 'install', 'verison' ]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm reasonably sure these typos (version, as well) are intentional, and are to make it so that npm isntall and npm verison still work even though the user made a typo.

(ie, "these little guys? i wouldn't worry about these little guys")

var fullList = cmdList.concat(aliasNames).filter(function (c) {
return plumbing.indexOf(c) === -1
})
Expand Down