You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is by design or a bug, but clearly specifying "env:" values does not override already defined values existing in system environment before calling taskfile.
If this is expected, it should documented in a highlighted warning notice, so people would not be surprised about its behavior.
My expectation was that it would override because I could use the shell expansion will fallback mechanism if I would not want it to override environment. With current behavior, I have no way to force taskfile to define a specific environment value and ignore system one.
Not sure if this is by design or a bug, but clearly specifying "env:" values does not override already defined values existing in system environment before calling taskfile.
If this is expected, it should documented in a highlighted warning notice, so people would not be surprised about its behavior.
My expectation was that it would override because I could use the shell expansion will fallback mechanism if I would not want it to override environment. With current behavior, I have no way to force taskfile to define a specific environment value and ignore system one.
Effective example at https://github.com/ansible/vscode-ansible/blob/main/Taskfile.yml#L17-L18 -- where we cannot force our own
VIRTUAL_ENV
value if the user defined his own in his shell.The text was updated successfully, but these errors were encountered: