mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
JS errors in HTML aren't prefixed with [html] neither with [js]. Fixes #33396
This commit is contained in:
@@ -77,6 +77,7 @@ export function getJavascriptMode(documentRegions: LanguageModelCache<HTMLDocume
|
||||
return {
|
||||
range: convertRange(currentTextDocument, diag),
|
||||
severity: DiagnosticSeverity.Error,
|
||||
source: 'js',
|
||||
message: ts.flattenDiagnosticMessageText(diag.messageText, '\n')
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user