How to check the value of a key without an equal sign
minhhn0205 opened this issue · comments
Hi,
I have a config.ini file with values of Key2 and Key3 not yet set:
I'm trying to validate the ini file, if the session, key, and value information is invalid it will output an error and stop the node-red application.
I'm on windows, case that no '=' after Key2 the ini node has given it a value of true.
Is it expected behavior?
I cannot judge whether the value of Key2 that was set from the beginning is true like Key4 or if the input error has no = but the given value is true.
This would have to be a new flag to tell ini to parse key-only lines differently. If this is something you need please feel free to submit a new feature PR.