File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ function parseCollectionYaml(filePath) {
167167 } else if ( currentObject && leadingSpaces > 0 ) {
168168 // Property of current object (e.g., display properties)
169169 currentObject [ key ] = value === "true" ? true : value === "false" ? false : value ;
170- } else if ( currentArray && currentObject && leadingSpaces > leadingSpaces ) {
170+ } else if ( currentArray && currentObject && leadingSpaces > 2 ) {
171171 // Property of array item object
172172 currentObject [ key ] = value ;
173173 }
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ function parseCollectionYaml(filePath) {
9999 } else if ( currentObject && leadingSpaces > 0 ) {
100100 // Property of current object (e.g., display properties)
101101 currentObject [ key ] = value === "true" ? true : value === "false" ? false : value ;
102- } else if ( currentArray && currentObject && leadingSpaces > leadingSpaces ) {
102+ } else if ( currentArray && currentObject && leadingSpaces > 2 ) {
103103 // Property of array item object
104104 currentObject [ key ] = value ;
105105 }
You can’t perform that action at this time.
0 commit comments