Closed thezzisu closed 3 months ago
The reason is just simple: at
https://github.com/unjs/rc9/blob/ca463063ade9953c845b694d25a88e91e0b214dc/src/index.ts#L53
When the value is empty match[2] is undefined. I will soon write a fix for that.
It should be fixed in next release
Environment
Package: v2.1.1 Node: v20.10.0
Reproduction
Describe the bug
When config file have a KV-pair with a empty value, an error will be thrown which is not expected and will crash the app
Additional context
No response
Logs
No response