Fix typo: menusContribtion -> menusContribution

This commit is contained in:
Howard Hung
2019-05-22 01:21:20 +08:00
parent 9af6cea057
commit b04e74819f

View File

@@ -118,7 +118,7 @@ namespace schema {
}
};
export const menusContribtion: IJSONSchema = {
export const menusContribution: IJSONSchema = {
description: localize('vscode.extension.contributes.menus', "Contributes menu items to the editor"),
type: 'object',
properties: {
@@ -358,7 +358,7 @@ let _menuRegistrations: IDisposable[] = [];
ExtensionsRegistry.registerExtensionPoint<{ [loc: string]: schema.IUserFriendlyMenuItem[] }>({
extensionPoint: 'menus',
jsonSchema: schema.menusContribtion
jsonSchema: schema.menusContribution
}).setHandler(extensions => {
// remove all previous menu registrations