[BUG] parse error with variable number
alicera opened this issue · comments
alicera commented
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
I read the ini with 3 (c0, c1, c2)
const file = await fs.promises.readFile(filePath, 'utf-8');
[aa.bb.c0]
value=1
[aa.bb.c1]
value=1
[aa.bb.c2]
value=1
It only show c0.
const config = ini.parse(file);
aa: {
bb: { c0: [Object]}
}
Expected Behavior
No response
Steps To Reproduce
- In this environment...
- With this config...
- Run '...'
- See error...
Environment
-
npm: 8.1.0
-
Node:v16.13.0
-
OS:Ubuntu 20.04
-
platform: pc
-
v3.0.1 ini