Skip to content

Commit ef518a9

Browse files
committed
Don't attempt to create diagnostic message for dependency cycle error
1 parent c38fdf5 commit ef518a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/src/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,8 +570,9 @@ export let parseCompilerLogOutput = async (
570570
});
571571
} else if (line.startsWith("FAILED: cannot make progress due to previous errors.")) {
572572
// skip
573+
} else if (line.startsWith("FAILED: dependency cycle")) {
574+
// skip as we can't extract a filepath from this error message
573575
} else if (line.startsWith("FAILED:")) {
574-
// File with a self cycle
575576
parsedDiagnostics.push({
576577
code: undefined,
577578
severity: t.DiagnosticSeverity.Error,

0 commit comments

Comments
 (0)