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] No longer reading empty lines as keys #79

Open
wants to merge 2 commits into
base: release/4.0
Choose a base branch
from

Conversation

HighPriest
Copy link

Import-Ini was taking into consideration empty lines, as key-value pairs.
This made exporting difficult, as the export function tried to write NoKey & NoValue into the output file.

This commit completely ignores empty lines, as they are of no interest when mapping a config file

If an empty line is detected, the line is discarded
Also adds Trim of white characters from keys
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.

1 participant