Enable avoid_print lint. (#91444)

This commit is contained in:
Ian Hickson
2021-10-07 16:48:04 -07:00
committed by GitHub
parent 2ca823d40c
commit f25b833f27
85 changed files with 373 additions and 244 deletions

View File

@@ -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');
}
}