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
I cannot repeat this and I would be hugely surprised if this was failing for 10 years and no one discovered it.
More than likely, you already have PROMPT set on your env. Try running:
env
on your machine to check.
If you don't see it there then if you are using a framework then it is likely doing its own loading of environment variables and I would raise the issue with them please. Thank you.
Also, you might find dotenvx makes this easier to debug in the future.
When using
dotenv
to load an environment variable namedPROMPT
, I noticed unexpected behavior.Steps to Reproduce:
.env
file with the following content:index.js
file:Expected Behavior:
The output should be:
Observed Behavior:
The output was:
The text was updated successfully, but these errors were encountered: