Skip to content

Commit 961c5b7

Browse files
authored
Remove some vestigial /*!*/ comments (#149361)
1 parent 5fb34b7 commit 961c5b7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/flutter_goldens/lib/skia_client.dart

+4-4
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ class SkiaGoldClient {
342342

343343
final io.ProcessResult result = await process.run(imgtestCommand);
344344

345-
final String/*!*/ resultStdout = result.stdout.toString();
345+
final String resultStdout = result.stdout.toString();
346346
if (result.exitCode != 0 &&
347347
!(resultStdout.contains('Untriaged') || resultStdout.contains('negative image'))) {
348348
String? resultContents;
@@ -477,7 +477,7 @@ class SkiaGoldClient {
477477
if (revParse.exitCode != 0) {
478478
throw const SkiaException('Current commit of Flutter can not be found.');
479479
}
480-
return (revParse.stdout as String/*!*/).trim();
480+
return (revParse.stdout as String).trim();
481481
}
482482
}
483483

@@ -517,12 +517,12 @@ class SkiaGoldClient {
517517
final File authFile = workDirectory.childFile(fs.path.join(
518518
'temp',
519519
'auth_opt.json',
520-
))/*!*/;
520+
));
521521

522522
if (await authFile.exists()) {
523523
final String contents = await authFile.readAsString();
524524
final Map<String, dynamic> decoded = json.decode(contents) as Map<String, dynamic>;
525-
return !(decoded['GSUtil'] as bool/*!*/);
525+
return !(decoded['GSUtil'] as bool);
526526
}
527527
return false;
528528
}

0 commit comments

Comments
 (0)