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. |