Skip to content

Commit

Permalink
Remove some vestigial /*!*/ comments (#149361)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hixie authored Jun 6, 2024
1 parent 5fb34b7 commit 961c5b7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/flutter_goldens/lib/skia_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ class SkiaGoldClient {

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

final String/*!*/ resultStdout = result.stdout.toString();
final String resultStdout = result.stdout.toString();
if (result.exitCode != 0 &&
!(resultStdout.contains('Untriaged') || resultStdout.contains('negative image'))) {
String? resultContents;
Expand Down Expand Up @@ -477,7 +477,7 @@ class SkiaGoldClient {
if (revParse.exitCode != 0) {
throw const SkiaException('Current commit of Flutter can not be found.');
}
return (revParse.stdout as String/*!*/).trim();
return (revParse.stdout as String).trim();
}
}

Expand Down Expand Up @@ -517,12 +517,12 @@ class SkiaGoldClient {
final File authFile = workDirectory.childFile(fs.path.join(
'temp',
'auth_opt.json',
))/*!*/;
));

if (await authFile.exists()) {
final String contents = await authFile.readAsString();
final Map<String, dynamic> decoded = json.decode(contents) as Map<String, dynamic>;
return !(decoded['GSUtil'] as bool/*!*/);
return !(decoded['GSUtil'] as bool);
}
return false;
}
Expand Down

0 comments on commit 961c5b7

Please sign in to comment.