Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(936)

Unified Diff: utils/pub/system_cache.dart

Issue 13132002: Version 0.4.3.5 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utils/pub/source.dart ('k') | utils/tests/pub/install/git/lock_version_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « utils/pub/source.dart ('k') | utils/tests/pub/install/git/lock_version_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698