More changes for #81574

This commit is contained in:
Alexandru Dima
2019-11-15 18:02:15 +01:00
parent 44e755ba4b
commit ca81ca47db
7 changed files with 12 additions and 10 deletions

View File

@@ -185,8 +185,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
}
return activeTextEditor.edit((edit: vscode.TextEditorEdit) => {
args.unshift(activeTextEditor, edit);
callback.apply(thisArg, args);
callback.apply(thisArg, [activeTextEditor, edit, ...args]);
}).then((result) => {
if (!result) {