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

Leading whitespace results in errors #264

Closed
keen99 opened this issue Sep 20, 2016 · 0 comments
Closed

Leading whitespace results in errors #264

keen99 opened this issue Sep 20, 2016 · 0 comments

Comments

@keen99
Copy link

keen99 commented Sep 20, 2016

leading whitespace in configs consumed by dotenv results in errors. (of course, leading whitespace is perfectly valid in even posix sh. :) )

Dotenv::FormatError: Line "  RL_EMAIL=\"david.raistrick@...\"" doesn't match format

Also - that error message escapes the quotes in the line, instead of printing them literally - might be better to format that differently?

I'll try to PR this if I get time.

dotenv (2.1.1)

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

1 participant