node-properties
node-properties copied to clipboard
Empty/Null property not found
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();
}
}
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?
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 ?