Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasonLaster/4beab9702561a27bbe56c4c1c83782f8 to your computer and use it in GitHub Desktop.
Save jasonLaster/4beab9702561a27bbe56c4c1c83782f8 to your computer and use it in GitHub Desktop.
iff
diff --git a/devtools/client/debugger/src/actions/breakpoints/index.js b/devtools/client/debugger/src/actions/breakpoints/index.js
index 802dc5149c5a..acaa45d7b40d 100644
--- a/devtools/client/debugger/src/actions/breakpoints/index.js
+++ b/devtools/client/debugger/src/actions/breakpoints/index.js
@@ -117,11 +117,10 @@ export function toggleBreakpoints(
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);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment