diff --git a/src/api-command.ts b/src/api-command.ts index 0593bf6..1daa4a6 100644 --- a/src/api-command.ts +++ b/src/api-command.ts @@ -227,7 +227,7 @@ export default abstract class ApiCommand extends BaseCommand { } cli.table(unwrappedRecords, cols, { - printLine: this.log, + printLine: this.log.bind(this), ...tableOpts, }); break;