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
Hello, I noticed that environment variables like these are converted to an integer:
SECURE_PASSWORD="123456"
As I'm expecting for a string, I get an error in the config parsing.
I thought that putting " around the number would be enough to make it be considered as a string.
# Parsed as number. Shouldn't it be considered as string?
SECURE_PASSWORD="123456"
# This one is considered as a number, which makes sense
SECURE_NUMBER=123456
The text was updated successfully, but these errors were encountered:
That's a string to your shell, which is passed as 123456 in the environment variable value. Try echo "foo" vs. echo foo. You need to escape the quotes. This depends on your shell. SECURE_PASSWORD="\"123456\"" should work. SECURE_PASSWORD=\"123456\"might work.
Hello, I noticed that environment variables like these are converted to an integer:
SECURE_PASSWORD="123456"
As I'm expecting for a string, I get an error in the config parsing.
I thought that putting
"
around the number would be enough to make it be considered as a string.The text was updated successfully, but these errors were encountered: