-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deno compile --env
does not work
#22105
Comments
We should probably do 1, but print a warning that the environment variables are being stored in the binary just to be super clear about what's going on. |
Hello @littledivy @dsherret , |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to f8f4e77
but running
deno compile --env main.ts && ./main
printsundefined
:The behaviour should be either:
deno compile --env
loads env variables from host and restores it when the binary is started.deno compile --env
loads the env variables from the user when the binary is started.I'd personally prefer 1
The text was updated successfully, but these errors were encountered: