Open patmuk opened 7 years ago
I am facing the same issue, if condition is never satisfied, not sure why. @patmuk looks like this issue was reported more than a year now. Did it get resolved for you? if this doesnt work, I have to think of other option other than if-env
The only difference from the example I see is not using nom run (and setting the env value) in:
"test" : "NODE_ENV='production' && if-env NODE_ENV==production && echo 'prod' $NODE_ENV || echo 'dev' $NODE_ENV",
The output I get (in Mac OS Sierra): dev production
Do I use it wrongly or did I met a limitation?