steveukx / properties

Properties reader for Node.js
MIT License
77 stars 33 forks source link

saveSections = false still creates the sections in the property file #53

Open gabcen opened 2 years ago

gabcen commented 2 years ago

Using saveSections = false has no difference in the behavior, the sections are created anyway after saving the properties file.

cosa88 commented 2 years ago

add the encoding,like: let properties = propertiesReader(filePath, "utf-8", {writer: { saveSections : false }});