Index: utils/pub/system_cache.dart |
=================================================================== |
--- utils/pub/system_cache.dart (revision 20601) |
+++ utils/pub/system_cache.dart (working copy) |
@@ -111,7 +111,6 @@ |
/// Deletes the system cache's internal temp directory. |
void deleteTempDir() { |
log.fine('Clean up system cache temp directory $tempDir.'); |
- if (!dirExists(tempDir)) return; |
- deleteDir(tempDir); |
+ if (dirExists(tempDir)) deleteEntry(tempDir); |
} |
} |