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

Empty/Null property not found #21

Open
jmengelle opened this issue Dec 2, 2015 · 2 comments
Open

Empty/Null property not found #21

jmengelle opened this issue Dec 2, 2015 · 2 comments

Comments

@jmengelle
Copy link

When i have the following :

a=
b=${a}

I got an error because 'a' property is not found.

I guess it's because null properties are ignored ?
Would be great to add an option for this.

I added this reviver function to avoid the error, by returning and empty string, but it's not really what i want :

reviver: function (key, value, section) {
    if (key != null && value == null) {
        return '';
    } else {
        //Returns all the lines
        return this.assert();
    }
}
@jmengelle jmengelle changed the title Empty/Null property Empty/Null property not found Dec 2, 2015
@lewisdawson
Copy link

I've run into the same issue where I have a blank value in one of my properties. Are there any plans to support this?

@Corey600
Copy link

I have the same issue, too. When I want to set an empty string value, it will be parsed into 'null'. Do you have any plans to fix it ?

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

3 participants