if (!_.isArray(value)) {
deprecate("The context menu CSON format has changed. Please see\nhttps://atom.io/docs/api/latest/ContextMenuManager#context-menu-cson-format\nfor more info.", {
packageName: this.name
});
itemsBySelector = atom.contextMenu.convertLegacyItemsBySelector(itemsBySelector);
}
The context menu CSON format has changed. Please see https://atom.io/docs/api/latest/ContextMenuManager
Looks like the context menus selector values should always be arrays. See https://github.com/atom/tabs/blob/master/menus/tabs.cson#L17-L19 for example.