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
Using npx tsx --env-file .env test.ts, the commented-out wrong variable is set during execution rather than the correct one. The conditions for this are:
the correct one has a comment after the line where it's defined
the wrong one appears below the right one
Bugs are expected to be fixed by those affected by it
I'm interested in working on this issue
Compensating engineering work will speed up resolution and support the project
I'm willing to offer $10 for financial support
The text was updated successfully, but these errors were encountered:
Acknowledgements
Minimal reproduction URL
https://github.com/zsiegel92/tsx_env_var_bug_mwe
Problem & expected behavior (under 200 words)
The
.env
file in the MWE repo looks like this:Using
npx tsx --env-file .env test.ts
, the commented-out wrong variable is set during execution rather than the correct one. The conditions for this are:Bugs are expected to be fixed by those affected by it
Compensating engineering work will speed up resolution and support the project
The text was updated successfully, but these errors were encountered: