We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ebeb32 commit 19e3eafCopy full SHA for 19e3eaf
src/runtime/validator.ts
@@ -19,7 +19,7 @@ export const useChecker = (
19
try {
20
if (usePrettier) {
21
const { format } = await import('prettier')
22
- html = format(html, { parser: 'html' })
+ html = await format(html, { parser: 'html' })
23
couldFormat = true
24
}
25
} catch (e) {
0 commit comments