-
Notifications
You must be signed in to change notification settings - Fork 132
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
Fix notice showing when trying to install a dependency already in the list #436
Comments
Fixed in #439 |
I seem to still get this error, which makes me think this is a bug as this issue is a few years old.
With verbose:
|
@chrissound are you able to put together a small reproducing example? |
Definitely, it's all in docker and a barebones setup anyway so should be simple enough. Will likely be in the next day or so. :) thanks! |
The above outputs:
|
@chrissound is this unexpected? Spago is adding |
Hmmm I wasn't paying too careful attention when I did this. So I likely ran Specially as it's a |
If the user tries to install a package that we already have as a dependency, they get shown a confusing warning:
This is because we have a check to warn the user about the config being the same as when they started the command (i.e. their command didn't do anything), which is useful in some cases, but confusing in this one.
We should instead detect that the package is already there and do not show this notice somehow.
The text was updated successfully, but these errors were encountered: