Run prettier fix

Summary: Should also fix the build.

Reviewed By: jknoxville

Differential Revision: D14477777

fbshipit-source-id: 01fcfb2321c9b7a12acdf079473d91b6805d4dda
This commit is contained in:
Pascal Hartig
2019-03-15 05:09:43 -07:00
committed by Facebook Github Bot
parent b354a82066
commit 3141b954bf
16 changed files with 97 additions and 103 deletions

View File

@@ -94,11 +94,10 @@ export function setupMenuBar(
plugin.keyboardActions || [],
)
.reduce((acc: KeyboardActions, cv) => acc.concat(cv), [])
.map(
(action: DefaultKeyboardAction | KeyboardAction) =>
typeof action === 'string'
? defaultKeyboardActions.find(a => a.action === action)
: action,
.map((action: DefaultKeyboardAction | KeyboardAction) =>
typeof action === 'string'
? defaultKeyboardActions.find(a => a.action === action)
: action,
),
);