Chromium Code Reviews| Index: utils/pub/system_cache.dart |
| diff --git a/utils/pub/system_cache.dart b/utils/pub/system_cache.dart |
| index e93f8f4f56d07c09971f1ae6d15d976321e02d97..ed5a295103ef3b3b13e6fe4c844ac8ba8a1a3479 100644 |
| --- a/utils/pub/system_cache.dart |
| +++ b/utils/pub/system_cache.dart |
| @@ -109,11 +109,9 @@ class SystemCache { |
| } |
| /// Delete's the system cache's internal temp directory. |
|
Bob Nystrom
2013/03/20 16:33:42
"Delete's" -> "Deletes"
nweiz
2013/03/20 19:45:46
*shudder*
|
| - Future deleteTempDir() { |
| + void deleteTempDir() { |
| log.fine('Clean up system cache temp directory $tempDir.'); |
| - return defer(() { |
| - if (!dirExists(tempDir)) return; |
| - return deleteDir(tempDir); |
| - }); |
| + if (!dirExists(tempDir)) return; |
| + deleteDir(tempDir); |
| } |
| } |