Skip to content

Commit bbe553f

Browse files
committed
Revert "[test] stringify errors"
This reverts commit b6938a1.
1 parent b6938a1 commit bbe553f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/rehype-shiki/src/index.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ const { shiki, getLanguageDisplayName, highlightToHast, highlightToHtml } =
2424
transformerTwoslash({
2525
langs: ['ts', 'js', 'cjs', 'mjs'],
2626
// throws: false,
27-
onTwoslashError: error => JSON.stringify(error),
28-
onShikiError: error => JSON.stringify(error),
2927
}),
3028
],
3129
// We use the faster WASM engine on the server instead of the web-optimized version.

0 commit comments

Comments
 (0)