Skip to content
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

Silently fails to load .env with multiline variables #172

Closed
shanesmith opened this issue Mar 5, 2024 · 5 comments
Closed

Silently fails to load .env with multiline variables #172

shanesmith opened this issue Mar 5, 2024 · 5 comments

Comments

@shanesmith
Copy link

If a .env contains a multiline variable overmind will silently fail to load the whole file.

$ cat .env
FOO='foo'
BAR='
multi
line
'

$ overmind run bash -c 'echo "Values: $FOO $BAR"'
Values:
@Envek Envek closed this as completed in 023f6b8 Mar 6, 2024
@Envek
Copy link
Collaborator

Envek commented Mar 6, 2024

Thanks! I upgraded godotenv dependency to the version supporting multiline vars.

I did it not because it was easy, but because I thought it would be easy.

Install overmind via go install and enjoy!

@shanesmith
Copy link
Author

Thanks for the very prompt attention to this!

We currently install from the binaries, any chance this would trigger a release?

@Envek
Copy link
Collaborator

Envek commented Mar 6, 2024

Probably we will make a release later this month.

@Envek
Copy link
Collaborator

Envek commented Mar 25, 2024

Released in 2.5.0, please enjoy.

@shanesmith
Copy link
Author

Much appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants