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 lock does not exit with an error code after displaying an error #5520

Open
lefessan opened this issue Apr 22, 2023 · 0 comments
Open

opam lock does not exit with an error code after displaying an error #5520

lefessan opened this issue Apr 22, 2023 · 0 comments

Comments

@lefessan
Copy link
Contributor

When some dependencies are requested in the .opam file, but are not yet installed in the current switch, opam lock will display an error about missing dependencies, but will still exit normally at the end.

Because of this behavior, scripts are not able to correctly detect the error when calling opam lock.

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

No branches or pull requests

3 participants