Skip to content

Commit

Permalink
fix: check error length
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm committed Aug 27, 2024
1 parent 8f5904a commit 89a1532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/language-server/src/svelte-check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export class SvelteCheck {
};
};

if (lsContainer.configErrors) {
if (lsContainer.configErrors.length > 0) {
const grouped = groupBy(
lsContainer.configErrors,
(error) => error.file?.fileName ?? tsconfigPath
Expand Down

0 comments on commit 89a1532

Please sign in to comment.