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

Unified Diff: lib/src/package_graph.dart

Issue 1534093002: Improve the detection lockfile freshness. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Created 5 years 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
Index: lib/src/package_graph.dart
diff --git a/lib/src/package_graph.dart b/lib/src/package_graph.dart
index c500b80adcfd8bf33d2376c448e23571cec406e5..dea6742334e0b2e7e86c87ea74fc2b743516b776 100644
--- a/lib/src/package_graph.dart
+++ b/lib/src/package_graph.dart
@@ -53,10 +53,7 @@ class PackageGraph {
entrypoint.cache.sources[id.source].getDirectory(id));
});
- return new PackageGraph(
- entrypoint,
- new LockFile(result.packages, entrypoint.cache.sources),
- packages);
+ return new PackageGraph(entrypoint, result.lockFile, packages);
}
/// Loads the transformer cache for this graph.

Powered by Google App Engine
This is Rietveld 408576698