mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-23 11:49:38 +00:00
Always capture command in callback
This commit is contained in:
@@ -241,13 +241,14 @@ export class SingleTsServer extends Disposable implements ITypeScriptServer {
|
||||
onError: reject,
|
||||
queuingStartTime: Date.now(),
|
||||
isAsync: executeInfo.isAsync,
|
||||
traceId: request.arguments.$traceId,
|
||||
command: request.command
|
||||
command: request.command,
|
||||
traceId: request.arguments.$traceId
|
||||
} : {
|
||||
onSuccess: resolve as () => ServerResponse.Response<Proto.Response> | undefined,
|
||||
onError: reject,
|
||||
queuingStartTime: Date.now(),
|
||||
isAsync: executeInfo.isAsync
|
||||
isAsync: executeInfo.isAsync,
|
||||
command: request.command,
|
||||
};
|
||||
this._callbacks.add(request.seq, item, executeInfo.isAsync);
|
||||
if (executeInfo.token) {
|
||||
|
||||
Reference in New Issue
Block a user