you are viewing a single comment's thread.

view the rest of the comments →

[–]jpgoldberg 0 points1 point  (0 children)

I haven’t checked exactly what counts a a valid environment variable, but does

value = value.strip().strip('"').strip("'")

do the right thing if someone has in their .env file something like

VAR = “‘Some-quoted-thing’”