Skip to content

Commit 4a44ab7

Browse files
flakey5avivkeller
andauthored
Apply suggestions from code review
Co-authored-by: Aviv Keller <[email protected]>
1 parent a27d69b commit 4a44ab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/generators/legacy-json/utils/buildSection.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ function handleEntry(entry, parentSection) {
335335
}
336336

337337
for (const key of Object.keys(section)) {
338-
if (key in ['textRaw', 'name', 'type', 'desc', 'miscs']) {
338+
if (['textRaw', 'name', 'type', 'desc', 'miscs'].includes(key)) {
339339
continue;
340340
}
341341

0 commit comments

Comments
 (0)