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

Unified Diff: lib/src/executable.dart

Issue 1269393003: Run "pub run" against the .packages file. (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: 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 | « lib/src/entrypoint.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/executable.dart
diff --git a/lib/src/executable.dart b/lib/src/executable.dart
index 62c33a1c6c1499296c65354e5990e7c0bbe735a7..ec37cef2b198c7f17ab6930224017f53b8ebb5f2 100644
--- a/lib/src/executable.dart
+++ b/lib/src/executable.dart
@@ -120,7 +120,7 @@ Future<int> runExecutable(Entrypoint entrypoint, String package,
// helpful for the subprocess to be able to spawn Dart with
// Platform.executableArguments and have that work regardless of the working
// directory.
- vmArgs.add('--package-root=${p.toUri(p.absolute(entrypoint.packagesDir))}');
+ vmArgs.add('--packages=${p.toUri(p.absolute(entrypoint.packagesFile))}');
}
vmArgs.add(executableUrl.toString());
« no previous file with comments | « lib/src/entrypoint.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698