mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
Fix inconsistent code action edit property names
**Bug** We were using `edits` in some places and `edit` in others. This broke some use patterns for code actions
This commit is contained in:
@@ -408,7 +408,7 @@ export class ExtHostApiCommands {
|
||||
} else {
|
||||
const ret = new types.CodeAction(
|
||||
codeAction.title,
|
||||
typeConverters.WorkspaceEdit.to(codeAction.edits)
|
||||
typeConverters.WorkspaceEdit.to(codeAction.edit)
|
||||
);
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user