Skip to content

Commit cf68d75

Browse files
committed
fix merging duplicate keys with same name, which in theory should be a syntax error in the first place
1 parent 59a6543 commit cf68d75

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,10 +419,13 @@ for (const lib of libs) {
419419
}
420420
if (DATA.aria[property.name].values[lib.name]) {
421421
DATA.aria[property.name].values[lib.name] +=
422-
' ' + property.source
422+
' | ' + property.source
423423
} else {
424424
DATA.aria[property.name].values[lib.name] = property.source
425425
}
426+
DATA.aria[property.name].values[lib.name] = uniqueTypes(
427+
DATA.aria[property.name].values[lib.name],
428+
)
426429
})
427430
}
428431

0 commit comments

Comments
 (0)