mirror of
https://github.com/morluto/rea.git
synced 2026-10-30 11:25:39 +00:00
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:
1 parent
6a96f4fa4a
commit
ce4e48ccae
2 files changed
+44
-3
No files matched your search
@@ -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),
|
||||
),
|
||||
),
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user