Skip to content

Commit

Permalink
refactor(table): use console.log to render output (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
c4spar committed Jul 29, 2021
1 parent 99ccc2a commit 4f05fad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion table/table.ts
Expand Up @@ -128,7 +128,7 @@ export class Table<T extends IRow = IRow> extends Array<T> {

/** Write table to stdout. */
public render(): this {
Deno.stdout.writeSync(new TextEncoder().encode(this.toString() + "\n"));
console.log(this.toString());
return this;
}

Expand Down

0 comments on commit 4f05fad

Please sign in to comment.