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
2026-10-25 03:33:25 +08:00
committed by GitHub
parent 6a96f4fa4a
commit ce4e48ccae
2 changed files with 44 additions and 3 deletions
+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),
),
),
);
};