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 no-value and malformed lines #222

Merged
merged 1 commit into from
Jan 18, 2020

Conversation

bbc2
Copy link
Collaborator

@bbc2 bbc2 commented Jan 17, 2020

  • Don't print warning when key has no value.
  • Reject more malformed lines (e.g. "A: B").

@bbc2 bbc2 marked this pull request as ready for review January 17, 2020 21:30
@bbc2 bbc2 self-assigned this Jan 17, 2020
@bbc2 bbc2 force-pushed the fix-warning-malformed-lines branch from acf3e7b to 421fc0f Compare January 17, 2020 21:36
@bbc2 bbc2 force-pushed the fix-warning-malformed-lines branch from 421fc0f to 22a71a1 Compare January 17, 2020 21:40
@bbc2
Copy link
Collaborator Author

bbc2 commented Jan 17, 2020

@ulyssessouza I released 0.10.4 but then realized that it was printing "malformed line" warnings in the Docker Compose use case (key without value) and would accept some really malformed lines. Before I merge this and release 0.10.5, does this fix work for you?

Copy link
Contributor

@ulyssessouza ulyssessouza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Nice catch!

@bbc2 bbc2 merged commit c68e78f into theskumar:master Jan 18, 2020
@bbc2 bbc2 deleted the fix-warning-malformed-lines branch January 18, 2020 18:57
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.

None yet

2 participants