Skip to content

Commit f995c75

Browse files
authored
chore(compass): update restart menu item text to restart to update (#6730)
1 parent 87a94bd commit f995c75

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/compass/src/main/menu.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ describe('CompassMenu', function () {
209209
const updateItem = (
210210
menu[0].submenu as any
211211
)?.[1] as MenuItemConstructorOptions;
212-
expect(updateItem.label).to.equal('Restart');
212+
expect(updateItem.label).to.equal('Restart to Update');
213213
}
214214
});
215215
});
@@ -280,7 +280,7 @@ describe('CompassMenu', function () {
280280
const updateItem = (
281281
menu[3].submenu as any
282282
)?.[8] as MenuItemConstructorOptions;
283-
expect(updateItem.label).to.equal('Restart');
283+
expect(updateItem.label).to.equal('Restart to Update');
284284
}
285285
});
286286
});

packages/compass/src/main/menu.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function updateSubmenu(
9090
enabled: false,
9191
}
9292
: {
93-
label: 'Restart',
93+
label: 'Restart to Update',
9494
click() {
9595
compassApp.emit('menu-request-restart');
9696
},

0 commit comments

Comments
 (0)