fix(cli): exclude inherited values from Markdown rows (#6984)

* fix(cli): exclude inherited values from Markdown rows

* test(verifiers): follow shared command output and identity
This commit is contained in:
ShuaixinHuang authored and GitHub committed 2026-10-25 03:33:25 +08:00
1 parent 6a96f4fa4a
commit ce4e48ccae
2 files changed
+44 -3

No files matched your search

+5 -1
View File
@@ -107,7 +107,11 @@ const formatObjectTable = (
}
return renderTable(
headers,
items.map((item) => headers.map((key) => markdownCell(item[key]))),
items.map((item) =>
headers.map((key) =>
markdownCell(Object.hasOwn(item, key) ? item[key] : undefined),
),
),
);
};