fix #29469, remove unsued code

This commit is contained in:
Johannes Rieken
2017-07-11 17:54:21 +02:00
parent 2ae81ab6ec
commit 38f0dea2b6
13 changed files with 49 additions and 69 deletions

View File

@@ -399,11 +399,11 @@ export class ExtHostApiCommands {
resource,
range: typeConverters.fromRange(range)
};
return this._commands.executeCommand<modes.CodeAction[]>('_executeCodeActionProvider', args).then(value => {
return this._commands.executeCommand<modes.Command[]>('_executeCodeActionProvider', args).then(value => {
if (!Array.isArray(value)) {
return undefined;
}
return value.map(quickFix => this._commands.converter.fromInternal(quickFix.command));
return value.map(quickFix => this._commands.converter.fromInternal(quickFix));
});
}