Skip to content

Commit

Permalink
Fix text alignment in zapier validate
Browse files Browse the repository at this point in the history
  • Loading branch information
eliangcs committed Feb 2, 2024
1 parent a1afdc4 commit 069ed34
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/cli/src/oclif/ZapierBaseCommand.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const { Command } = require('@oclif/command');
const { renderList } = require('@oclif/core/lib/cli-ux/list');
const { stdtermwidth } = require('@oclif/help/lib/screen');
const { renderList } = require('@oclif/help/lib/list');
const colors = require('colors/safe');

const { startSpinner, endSpinner, formatStyles } = require('../utils/display');
Expand Down Expand Up @@ -149,7 +150,7 @@ class ZapierBaseCommand extends Command {
* @param {string[][]} items
*/
logList(items) {
this.log(renderList(items));
this.log(renderList(items, { spacer: '\n', maxWidth: stdtermwidth }));
}

/**
Expand Down

0 comments on commit 069ed34

Please sign in to comment.