@oclif/table 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/table.js +2 -0
- package/package.json +1 -1
package/lib/table.js
CHANGED
|
@@ -267,6 +267,7 @@ export function Skeleton(props) {
|
|
|
267
267
|
export function printTable(options) {
|
|
268
268
|
const instance = render(React.createElement(Table, { ...options }));
|
|
269
269
|
instance.unmount();
|
|
270
|
+
process.stdout.write('\n');
|
|
270
271
|
}
|
|
271
272
|
function Container(props) {
|
|
272
273
|
return (React.createElement(Box, { flexWrap: "wrap", flexDirection: props.direction ?? 'row', ...props }, props.children));
|
|
@@ -282,4 +283,5 @@ export function printTables(tables, options) {
|
|
|
282
283
|
}));
|
|
283
284
|
const instance = render(React.createElement(Container, { ...options }, processed.map((table) => (React.createElement(Table, { key: sha1(table), ...table })))));
|
|
284
285
|
instance.unmount();
|
|
286
|
+
process.stdout.write('\n');
|
|
285
287
|
}
|