File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
lib/src/debugging/metadata Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,9 @@ class MetadataProvider {
192192 for (var contents in merged.split ('\n ' )) {
193193 try {
194194 if (contents.isEmpty ||
195- contents.startsWith ('// intentionally empty:' )) continue ;
195+ contents.startsWith ('// intentionally empty:' )) {
196+ continue ;
197+ }
196198 final moduleJson = json.decode (contents);
197199 final metadata =
198200 ModuleMetadata .fromJson (moduleJson as Map <String , dynamic >);
Original file line number Diff line number Diff line change @@ -362,10 +362,6 @@ class TestContext {
362362 buildResults = const Stream <BuildResults >.empty ();
363363 }
364364 break ;
365- default :
366- throw Exception (
367- 'Unsupported compilation mode: ${testSettings .compilationMode }' ,
368- );
369365 }
370366
371367 final debugPort = await findUnusedPort ();
Original file line number Diff line number Diff line change @@ -8,7 +8,9 @@ dynamic toJsonable(dynamic obj) {
88 obj is bool ||
99 obj is Map <dynamic , dynamic > ||
1010 obj is List <dynamic > ||
11- obj == null ) return obj;
11+ obj == null ) {
12+ return obj;
13+ }
1214 return '$obj ' ;
1315}
1416
You can’t perform that action at this time.
0 commit comments