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
Hi, thanks for making and maintaining cargo-make, I really like it! I think I've come across a potential bug with conditionals and the decode map feature for environment variables. Here's an example Makefile.toml:
When I run this and don't have SOURCE_TEST set it works as expected and the one gets mapped to a 1. But when a SOURCE_TESTis defined it overwrites that one and again maps it.
$ SOURCE_IN="one" makers conditional-source
[cargo-make] INFO - Execute Command: "echo" "1"
1
$ SOURCE_IN="one" SOURCE_TEST="example" makers conditional-source
[cargo-make] INFO - Execute Command: "echo" "1"
1
# Instead I would expect to get:
[cargo-make] INFO - Execute Command: "echo" "example"
example
This is using version 0.37.5.
The text was updated successfully, but these errors were encountered:
Hi, thanks for making and maintaining cargo-make, I really like it! I think I've come across a potential bug with conditionals and the decode map feature for environment variables. Here's an example Makefile.toml:
When I run this and don't have
SOURCE_TEST
set it works as expected and theone
gets mapped to a1
. But when aSOURCE_TEST
is defined it overwrites that one and again maps it.This is using version 0.37.5.
The text was updated successfully, but these errors were encountered: