Bug 1552609 - Fix eslint failure. r=jlast a=jcristau
authorCosmin Sabou <csabou@mozilla.com>
Wed, 22 May 2019 00:10:06 +0300
changeset 536451 daa553c05384776bc8c79f5ac4e5f3570d91a320
parent 536450 a5352b191e5a39803a6ed74a48279529277aa6e6
child 536452 3b40f41fc5bef54def5ea1d0ccc0727f142dfdbd
push id2082
push userffxbld-merge
push dateMon, 01 Jul 2019 08:34:18 +0000
treeherdermozilla-release@2fb19d0466d2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjlast, jcristau
bugs1552609
milestone68.0
Bug 1552609 - Fix eslint failure. r=jlast a=jcristau
devtools/client/debugger/src/actions/breakpoints/index.js
--- a/devtools/client/debugger/src/actions/breakpoints/index.js
+++ b/devtools/client/debugger/src/actions/breakpoints/index.js
@@ -112,21 +112,20 @@ export function toggleAllBreakpoints(
  * @static
  */
 export function toggleBreakpoints(
   cx: Context,
   shouldDisableBreakpoints: boolean,
   breakpoints: Breakpoint[]
 ) {
   return async ({ dispatch }: ThunkArgs) => {
-    const promises = breakpoints.map(
-      breakpoint =>
-        shouldDisableBreakpoints
-          ? dispatch(disableBreakpoint(cx, breakpoint))
-          : dispatch(enableBreakpoint(cx, breakpoint))
+    const promises = breakpoints.map(breakpoint =>
+      shouldDisableBreakpoints
+        ? dispatch(disableBreakpoint(cx, breakpoint))
+        : dispatch(enableBreakpoint(cx, breakpoint))
     );
 
     await Promise.all(promises);
   };
 }
 
 export function toggleBreakpointsAtLine(
   cx: Context,