-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
I don't have time to look into this right now, so I'm filing this to not forget it. If someone wants to take a crack, a high-quality PR would be awesome!
During config merging, any boolean values in nested objects cause all subsequent values to be ignored.
Example 1
warlock.json:
{
"blah": {
"one": true,
"two": false,
"three": "three"
}
}Will yield:
$ warlock --conf blah
blah = { one: true, two: false }Example 2
Some spell's package.json:
{
"warlock": {
"blah": {
"a": "a",
"one": true,
"two": false
}
}
}Combined with warlock.json:
{
"blah": {
"three": "three"
}
}Will yield:
$ warlock --conf blah
blah = { "a": "a", one: true, two: false }Not sure what's going on here...