Skip to content

Commit

Permalink
fix: remove console object overwrites from InlineCode (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgrain authored Aug 13, 2022
1 parent 7ee6763 commit dde3fdf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/inline-code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ abstract class BaseInlineCode extends InlineCode {
} = props;

try {
console.log = () => {};
console.error = () => {};
const transformedCode = wrapWithEsbuildBinaryPath(transformFn, esbuildBinaryPath)(code, {
logLevel: 'warning',
...transformOptions,
Expand Down

0 comments on commit dde3fdf

Please sign in to comment.