Skip to content

Commit

Permalink
Remove unneeded conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
pdenert committed Nov 8, 2024
1 parent c4308d3 commit 60139d2
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions packages/patrol_log/lib/src/patrol_log_reader.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,20 +111,6 @@ class PatrolLogReader {
} else {
_controller.add(entry);
}
} else if (showFlutterLogs && line.contains('Runner: (Flutter) flutter:')) {
final regExp = RegExp(r'Runner: \(Flutter\) (.*)');
final match = regExp.firstMatch(line);
if (match != null) {
final matchedText = match.group(1)!;
log(matchedText);
}
} else if (showFlutterLogs && line.contains('I flutter :')) {
final regExp = RegExp('I (.*)');
final match = regExp.firstMatch(line);
if (match != null) {
final matchedText = match.group(1)!;
log(matchedText);
}
}
}

Expand Down

0 comments on commit 60139d2

Please sign in to comment.