Skip to content

Commit 5dcaae0

Browse files
committed
fix: remove message about disabled LS if ngcc fails
The log message is misleading because LS is enable even if ngcc fails.
1 parent 458efc8 commit 5dcaae0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

server/src/session.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,9 +1111,8 @@ export class Session {
11111111
success = true;
11121112
} catch (e) {
11131113
this.error(
1114-
`Failed to run ngcc for ${configFilePath}:\n` +
1115-
` ${e.message}\n` +
1116-
` Language service will remain disabled.`);
1114+
`Failed to run ngcc for ${configFilePath}, language service may not operate correctly:\n` +
1115+
` ${e.message}`);
11171116
} finally {
11181117
this.connection.sendProgress(NgccProgressType, NgccProgressToken, {
11191118
done: true,
@@ -1157,4 +1156,4 @@ function isTypeScriptFile(path: string): boolean {
11571156

11581157
function isExternalTemplate(path: string): boolean {
11591158
return !isTypeScriptFile(path);
1160-
}
1159+
}

0 commit comments

Comments
 (0)