Fix analyzer warnings (#7523)
I see these errors in Atom on my Mac. I'm not sure why they're not being picked up by the bots.
This commit is contained in:
@@ -285,7 +285,7 @@ class FlutterDriver {
|
||||
if (_printCommunication)
|
||||
_log.info(message);
|
||||
if (_logCommunicationToFile) {
|
||||
f.File file = fs.file(p.join(testOutputsDirectory, 'flutter_driver_commands_${_driverId}.log'));
|
||||
f.File file = fs.file(p.join(testOutputsDirectory, 'flutter_driver_commands_$_driverId.log'));
|
||||
file.createSync(recursive: true); // no-op if file exists
|
||||
file.writeAsStringSync('${new DateTime.now()} $message\n', mode: f.FileMode.APPEND, flush: true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user