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

opam show --list-files <pkg> does not fail when the package is not installed #4930

Closed
kit-ty-kate opened this issue Nov 24, 2021 · 2 comments · Fixed by #4956
Closed

opam show --list-files <pkg> does not fail when the package is not installed #4930

kit-ty-kate opened this issue Nov 24, 2021 · 2 comments · Fixed by #4956
Projects
Milestone

Comments

@kit-ty-kate
Copy link
Member

This behaviour seems surprising to me. I would expect an error message here.

@AltGr
Copy link
Member

AltGr commented Nov 26, 2021

Yes... technically it's correct that the package has no files installed, but an error message would clearly be helpful!

@rjbou
Copy link
Collaborator

rjbou commented Nov 26, 2021

A different error code (not found) should fix this.

@rjbou rjbou added this to To do in Opam 2.2.0 via automation Dec 1, 2021
@rjbou rjbou added this to the 2.2.0~alpha milestone Dec 1, 2021
kit-ty-kate added a commit to kit-ty-kate/opam that referenced this issue Dec 10, 2021
kit-ty-kate added a commit to kit-ty-kate/opam that referenced this issue Dec 10, 2021
rjbou pushed a commit to kit-ty-kate/opam that referenced this issue Dec 13, 2021
@rjbou rjbou moved this from To do to In progress in Opam 2.2.0 Dec 13, 2021
Opam 2.2.0 automation moved this from In progress to Done Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Opam 2.2.0
  
Done
Development

Successfully merging a pull request may close this issue.

4 participants