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

The colon variants of withenv env update operators do not adding leading/trailing separators #10440

Open
gridbugs opened this issue Apr 18, 2024 · 0 comments

Comments

@gridbugs
Copy link
Collaborator

gridbugs commented Apr 18, 2024

The := and =: operators inside the withenv action do not add leading/trailing separators when operating on unset variables. These operators are documented in opam's manual as:

+= or := prepend. They differ when the variable is unset of empty, where := adds a trailing separator.
=+ or =: append. They differ when the variable is unset of empty, where =: adds a leading separator.

Repro: #10441

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

1 participant