Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit d8bf74a

Browse files
committed
analyzer
1 parent a359aa8 commit d8bf74a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/web_ui/dev/chrome.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,8 @@ Future<void> setupChromiumTab(
402402
wipConnection.runtime.onExceptionThrown.listen(
403403
(wip.ExceptionThrownEvent event) {
404404
if (!exceptionCompleter.isCompleted) {
405-
String text = event.exceptionDetails.text;
406-
String? description = event.exceptionDetails.exception?.description;
405+
final String text = event.exceptionDetails.text;
406+
final String? description = event.exceptionDetails.exception?.description;
407407
exceptionCompleter.complete('$text: $description');
408408
}
409409
}

lib/web_ui/dev/test_platform.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ class BrowserManager {
10601060

10611061
_controllers.add(controller!);
10621062

1063-
List<Future<RunnerSuite>> futures = <Future<RunnerSuite>>[
1063+
final List<Future<RunnerSuite>> futures = <Future<RunnerSuite>>[
10641064
controller!.suite
10651065
];
10661066
if (_browser.onUncaughtException != null) {
@@ -1069,7 +1069,7 @@ class BrowserManager {
10691069
throw Exception('Exception while loading suite: $error')));
10701070
}
10711071

1072-
RunnerSuite suite = await Future.any(futures);
1072+
final RunnerSuite suite = await Future.any(futures);
10731073
return suite;
10741074
} catch (_) {
10751075
closeIframe();

0 commit comments

Comments
 (0)