Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correcting isntall #1274

Closed
wants to merge 2 commits into from
Closed

Conversation

tomazcunha
Copy link

Correcting a typo for the install command

When using the command 'npm install --help', I noticed that in the description 'aliases: i, isntall, add', install is written isntall. I imagine that this is some type of typo, so looking at the code, I made some changes that I believe can help. Thank you.

@tomazcunha tomazcunha requested a review from a team as a code owner May 12, 2020 00:33
@@ -28,9 +28,8 @@ var affordances = {
'verison': 'version',
'ic': 'ci',
'innit': 'init',
'isntall': 'install',
'install': 'install',
Copy link
Contributor

Choose a reason for hiding this comment

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

this is very much not a typo; it's an attempt for npm to fix a user's typo.

Copy link
Author

Choose a reason for hiding this comment

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

Ok. Thanks for the answer.

@@ -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.

you missed "verison" which is a misspelling of "version" - but these are also intentional.

these little guys? i wouldn't worry about these little guys.

Copy link
Author

Choose a reason for hiding this comment

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

Ok. Thanks for the answer.

@ruyadorno
Copy link
Contributor

thanks @ljharb and @tomazcunha 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants