Skip to content

Commit 4107646

Browse files
committed
lint++
1 parent ff31468 commit 4107646

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

packages/docs/src/repl/ui/repl-output-update.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const updateReplOutput = async (store: ReplStore, result: ReplResult) =>
3131
deepUpdate(store.clientBundles, result.clientBundles);
3232
deepUpdate(store.ssrModules, result.ssrModules);
3333

34-
if (result.diagnostics.length === 0) {
34+
if (!result.diagnostics.some((d) => d.category === 'error' || d.category === 'sourceError')) {
3535
if (result.html && store.html !== result.html) {
3636
store.html = result.html;
3737
store.events = result.events;

todo-v2-alpha.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)