Skip to content

Commit 89a1532

Browse files
committed
fix: check error length
1 parent 8f5904a commit 89a1532

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/language-server/src/svelte-check.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export class SvelteCheck {
208208
};
209209
};
210210

211-
if (lsContainer.configErrors) {
211+
if (lsContainer.configErrors.length > 0) {
212212
const grouped = groupBy(
213213
lsContainer.configErrors,
214214
(error) => error.file?.fileName ?? tsconfigPath

0 commit comments

Comments
 (0)