Skip to content

Commit

Permalink
bind this for passed function (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
ariadiamond authored Jul 15, 2024
1 parent b8ec4ca commit 8310011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8310011

Please sign in to comment.