mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
Use clearer reference
This commit is contained in:
@@ -185,7 +185,7 @@ class DocumentPasteProvider implements vscode.DocumentPasteEditProvider<TsPasteE
|
||||
const response = await raceTimeout(pasteOperation, pasteTimeout);
|
||||
if (response) {
|
||||
// Success, can return real paste edit.
|
||||
const edit = TsPendingPasteEdit.tryCreateFromResponse(this._client, response);
|
||||
const edit = TsPasteEdit.tryCreateFromResponse(this._client, response);
|
||||
return edit ? [edit] : undefined;
|
||||
} else {
|
||||
// Still waiting on the response. Eagerly return a paste edit that we will resolve when we
|
||||
|
||||
Reference in New Issue
Block a user