mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
Make char position optional in TS stack (#96321)
This commit is contained in:
@@ -79,7 +79,7 @@ export class TypeScriptServerError extends Error {
|
||||
if (!message) {
|
||||
return '';
|
||||
}
|
||||
const regex = /(tsserver)?(\.(?:ts|tsx|js|jsx)(?::\d+(?::\d+))?)\)?$/igm;
|
||||
const regex = /(tsserver)?(\.(?:ts|tsx|js|jsx)(?::\d+(?::\d+)?)?)\)?$/igm;
|
||||
let serverStack = '';
|
||||
while (true) {
|
||||
const match = regex.exec(message);
|
||||
|
||||
Reference in New Issue
Block a user