Skip to content

Commit 06cd355

Browse files
committed
fix: use built-in stylish formatter
1 parent 207398f commit 06cd355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/validator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const useChecker = (
3939

4040
if (!valid) { invalidPages.push(url) }
4141

42-
const formatter = couldFormat ? formatterFactory('codeframe') : await import('@html-validate/stylish').then(r => r.default?.default ?? r.default ?? r)
42+
const formatter = couldFormat ? formatterFactory('codeframe') : formatterFactory('stylish')
4343

4444
const formattedResult = formatter?.(results)
4545
const message = [

0 commit comments

Comments
 (0)