Enable avoid_print lint. (#91332)
This commit is contained in:
@@ -20,7 +20,7 @@ void tryToDelete(Directory directory) {
|
||||
try {
|
||||
directory.deleteSync(recursive: true);
|
||||
} on FileSystemException catch (error) {
|
||||
print('Failed to delete ${directory.path}: $error');
|
||||
driverLog('test', 'Failed to delete ${directory.path}: $error');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user