mirror of
https://github.com/morluto/rea
synced 2026-10-25 22:08:11 -04: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:
@@ -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