mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
JS errors in HTML aren't prefixed with [html] neither with [js]. Fixes #33396
This commit is contained in:
parent
a8726ef50e
commit
0448d3d4c7
|
@ -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')
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue