Open simoneb opened 9 months ago
bug
fixed
import fs from "fs"; import ini from "ini";
const input = ActiveIndex = '0' MaximizedFlag = '1911' ProductVersion = '14.0.25793.400' Version = '1' WindowCount = '1'
const data = ini.parse(input);
// prints the values without quotes console.log(ini.stringify(data));
ActiveIndex = '0' MaximizedFlag = '1911' ProductVersion = '14.0.25793.400' Version = '1' WindowCount = '1'
Is there an existing issue for this?
Current Behavior
Decoding then encoding (without further transformation) a file like this:
Turns it into this:
It basically removed the single quotes around the values, thereby causing a compatibility issue with the software that is supposed to open this file.
Expected Behavior
Single quotes are not removed from values
Steps To Reproduce
Environment