mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Fix a bug of CI (prettier) bug
This commit is contained in:
@@ -61,8 +61,7 @@ function findMatchingItemIndex(menu, { type, id, submenu }) {
|
||||
for (let index = 0; index < menu.length; index++) {
|
||||
const item = menu[index];
|
||||
if (
|
||||
item.id === id &&
|
||||
(item.submenu != null) === (submenu != null)
|
||||
item.id === id && (item.submenu != null) === (submenu != null)
|
||||
) {
|
||||
return index;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user