Skip to content

Commit

Permalink
console.log -> process.stdout.write
Browse files Browse the repository at this point in the history
  • Loading branch information
sainthkh committed Apr 3, 2020
1 parent e4c60f3 commit d150875
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/docgen/scripts/dump-ast.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ const sourceFile = ts.createSourceFile(
ts.ScriptTarget.ESNext
);

// eslint-disable-next-line no-console
console.log( inspect( sourceFile, false, null ) );
process.stdout.write( inspect( sourceFile, false, null ) );

0 comments on commit d150875

Please sign in to comment.