Index: tools/test.dart |
diff --git a/tools/test.dart b/tools/test.dart |
index c66489e4f681d63d081e1c9008451c848b32239c..9d3a1ca835bcd277d256368acd1f7efa48496cc0 100755 |
--- a/tools/test.dart |
+++ b/tools/test.dart |
@@ -42,13 +42,13 @@ Future _deleteTemporaryDartDirectories() { |
if (environment['DART_TESTING_DELETE_TEMPORARY_DIRECTORIES'] == '1') { |
LeftOverTempDirPrinter.getLeftOverTemporaryDirectories().listen( |
(FileSystemEntity tempEntity) { |
- Directory tempDirectory = tempEntity as Directory; |
- try { |
- tempDirectory.deleteSync(recursive: true); |
- } catch (error) { |
- DebugLogger.error(error); |
- } |
- }, onDone: completer.complete); |
+ Directory tempDirectory = tempEntity as Directory; |
+ try { |
+ tempDirectory.deleteSync(recursive: true); |
+ } catch (error) { |
+ DebugLogger.error(error); |
+ } |
+ }, onDone: completer.complete); |
} else { |
completer.complete(); |
} |