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
Variable expansion of an externally declared variable does not appear to occur when assigned back to the same variable name e.g. given the declaration of GITHUB_TOKEN, in my .env file:
GITHUB_TOKEN="$GITHUB_TOKEN"
...then show envFromFile from within the sbt session reveals:
[info] Map(GITHUB_TOKEN -> $GITHUB_TOKEN)
i.e. the token is not substituted where GITHUB_TOKEN has been declared prior to invoking sbt.
Thanks for raising, and apologies for my slow response. I don't spend much time on this these days, but if you care to submit a PR we'd be happy to bring it in.
P.S. interesting background, and hello fellow Aussie :)
Variable expansion of an externally declared variable does not appear to occur when assigned back to the same variable name e.g. given the declaration of
GITHUB_TOKEN
, in my .env file:...then
show envFromFile
from within the sbt session reveals:i.e. the token is not substituted where
GITHUB_TOKEN
has been declared prior to invokingsbt
.I'm not certain, but I think the following line is causing a problem:
i.e. the fact that
environment
is appended tosys.env
.The text was updated successfully, but these errors were encountered: