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

Add quotes package version #474

Merged

Conversation

fvictorio
Copy link
Member

When a plugin requires another one to be installed, the error message says:

npm install --save-dev @nomiclabs/buidler-web3@^1.2.0

which is nice because you can easily copy and paste it (well, unless you use yarn, but that's something for a different issue). The problem is that this doesn't work in zsh if you have extendedglob enabled.

This PR just surrounds the package and version with double quotes. Maybe a better solution is to check if there's a caret in the version and add quotes just in that case... but that seems more involved, so I went with the easy solution.

@alcuadrado
Copy link
Member

Thanks for this fix, Franco!

@alcuadrado alcuadrado merged commit 7c1f976 into NomicFoundation:development Mar 18, 2020
@fvictorio fvictorio deleted the add-quotes-package-version branch March 19, 2020 13:45
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants