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

Unified Diff: utils/pub/package.dart

Issue 10230016: Fix a couple of minor issues and try to resolve #2740. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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 | « no previous file | utils/tests/pub/pub.status » ('j') | utils/tests/pub/test_pub.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/package.dart
diff --git a/utils/pub/package.dart b/utils/pub/package.dart
index 8e621371591ac08f04df69a7343c5c017b5b35fc..7d707fd98240e03e580137cd84825329dea2d21b 100644
--- a/utils/pub/package.dart
+++ b/utils/pub/package.dart
@@ -70,7 +70,7 @@ class Package implements Hashable {
// Recurse into its dependencies.
pendingAsyncCalls++;
- package.loadDependencies().then((dependencies) {
+ package.loadDependencies(cache).then((dependencies) {
dependencies.forEach(walkPackage);
pendingAsyncCalls--;
if (pendingAsyncCalls == 0) completer.complete(packages);
« no previous file with comments | « no previous file | utils/tests/pub/pub.status » ('j') | utils/tests/pub/test_pub.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698