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

Fix handling of lines with just a comment #224

Merged
merged 1 commit into from
Jan 19, 2020

Conversation

bbc2
Copy link
Collaborator

@bbc2 bbc2 commented Jan 18, 2020

Closes #223.

A .env file like the following would trigger a warning:

    # comment

The problem is that with the previous `Binding` structure, it was
impossible to distinguish the parsing of such a line and that of a
malformed line.  Therefore, this commit adds an `error` field so that
error reporting works correctly in this case.
@bbc2 bbc2 merged commit 70d0c19 into theskumar:master Jan 19, 2020
@bbc2 bbc2 deleted the fix-warning-comment-lines branch January 19, 2020 12:03
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

Successfully merging this pull request may close these issues.

Warning for consecutive lines that are comments
1 participant