Skip to content

Commit 88886b6

Browse files
committed
Fix formatting
1 parent 7a2c286 commit 88886b6

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

dwds/lib/src/debugging/debugger.dart

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,9 @@ class Debugger extends Domain {
8282
// DevTools is showing an overlay. Both cannot be shown at the same time:
8383
// bool _pausedOverlayVisible = false;
8484

85-
String get pauseState =>
86-
_pauseModePauseStates.entries
87-
.firstWhere((entry) => entry.value == _pauseState)
88-
.key;
85+
String get pauseState => _pauseModePauseStates.entries
86+
.firstWhere((entry) => entry.value == _pauseState)
87+
.key;
8988

9089
/// The JS frames at the current paused location.
9190
///
@@ -540,17 +539,15 @@ class Debugger extends Domain {
540539
final timestamp = DateTime.now().millisecondsSinceEpoch;
541540
final jsBreakpointIds = e.hitBreakpoints ?? [];
542541
if (jsBreakpointIds.isNotEmpty) {
543-
final breakpointIds =
544-
jsBreakpointIds
545-
.map((id) => _breakpoints._dartIdByJsId[id])
546-
// In case the breakpoint was set in Chrome DevTools outside of
547-
// package:dwds.
548-
.where((entry) => entry != null)
549-
.toSet();
550-
final pauseBreakpoints =
551-
isolate.breakpoints
552-
?.where((bp) => breakpointIds.contains(bp.id))
553-
.toList();
542+
final breakpointIds = jsBreakpointIds
543+
.map((id) => _breakpoints._dartIdByJsId[id])
544+
// In case the breakpoint was set in Chrome DevTools outside of
545+
// package:dwds.
546+
.where((entry) => entry != null)
547+
.toSet();
548+
final pauseBreakpoints = isolate.breakpoints
549+
?.where((bp) => breakpointIds.contains(bp.id))
550+
.toList();
554551
event = Event(
555552
kind: EventKind.kPauseBreakpoint,
556553
timestamp: timestamp,

0 commit comments

Comments
 (0)