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

Unified Diff: packages/package_config/lib/discovery_analysis.dart

Issue 3015713002: Roll to pickup pool changes
Patch Set: Created 3 years, 3 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 | « packages/package_config/lib/discovery.dart ('k') | packages/package_config/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/package_config/lib/discovery_analysis.dart
diff --git a/packages/package_config/lib/discovery_analysis.dart b/packages/package_config/lib/discovery_analysis.dart
index ce7e98a1ac813837c20d71211339651970223109..67798e129e3ac4f05c501d4d48ad7e7af261543c 100644
--- a/packages/package_config/lib/discovery_analysis.dart
+++ b/packages/package_config/lib/discovery_analysis.dart
@@ -91,6 +91,7 @@ abstract class PackageContext {
contexts = oldContexts;
}
}
+
findRoots(directory);
// If the root is not itself context root, add a the wrapper context.
if (contexts.length == 1 && contexts[0].directory == directory) {
@@ -115,6 +116,7 @@ class _PackageContext implements PackageContext {
recurse(child);
}
}
+
recurse(this);
return result;
}
« no previous file with comments | « packages/package_config/lib/discovery.dart ('k') | packages/package_config/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698