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

Unified Diff: lib/src/barback/asset_environment.dart

Issue 1282533003: Don't implicitly run "pub get". (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Code review changes Created 5 years, 4 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 | lib/src/command/deps.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/barback/asset_environment.dart
diff --git a/lib/src/barback/asset_environment.dart b/lib/src/barback/asset_environment.dart
index a8a56f0df048f8eb2b6c84f1ae24643a9ddb241e..657d5a58b0d11d8ca2dddde790cbb23ce2213589 100644
--- a/lib/src/barback/asset_environment.dart
+++ b/lib/src/barback/asset_environment.dart
@@ -74,8 +74,7 @@ class AssetEnvironment {
if (environmentConstants == null) environmentConstants = {};
return log.progress("Loading asset environment", () async {
- var graph = await entrypoint.loadPackageGraph();
- graph = _adjustPackageGraph(graph, mode, packages);
+ var graph = _adjustPackageGraph(entrypoint.packageGraph, mode, packages);
var barback = new Barback(new PubPackageProvider(graph));
barback.log.listen(_log);
« no previous file with comments | « no previous file | lib/src/command/deps.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698