fix conflict

Signed-off-by: zwwhdls <zwwhdls@hotmail.com>
pull/7184/head
zwwhdls 5 years ago
parent 1b39857ac3
commit d58a984878

@ -314,16 +314,11 @@ func (t *parser) listItem(list []interface{}, i int) ([]interface{}, error) {
} }
} }
// Now we need to get the value after the ]. // Now we need to get the value after the ].
<<<<<<< HEAD list2, err := t.listItem(crtList, nextI)
list2, err := t.listItem(crtList, i)
if err != nil { if err != nil {
return list, err return list, err
} }
return setIndex(list, i, list2) return setIndex(list, i, list2)
=======
list2, err := t.listItem(crtList, nextI)
return setIndex(list, i, list2), err
>>>>>>> fix another extreme case
case last == '.': case last == '.':
// We have a nested object. Send to t.key // We have a nested object. Send to t.key
inner := map[string]interface{}{} inner := map[string]interface{}{}

Loading…
Cancel
Save