Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
registerMenus(menus: MenuModelRegistry): void {
menus.registerMenuAction(NavigatorContextMenu.COMPARE, {
commandId: GitDiffCommands.OPEN_FILE_DIFF.id
});
}