Skip to content
Snippets Groups Projects
Commit 7fbc1040 authored by Natalie Weizenbaum's avatar Natalie Weizenbaum
Browse files

Revert "Run "pub run" against the .packages file."

This reverts commit dc626af3.

This broke due to dart-lang/sdk#23991.

R=rnystrom@google.com

Review URL: https://codereview.chromium.org//1272833003 .
parent dc626af3
No related branches found
No related tags found
No related merge requests found
......@@ -76,9 +76,6 @@ class Entrypoint {
/// The path to the entrypoint's "packages" directory.
String get packagesDir => root.path('packages');
/// The path to the entrypoint's ".packages" file.
String get packagesFile => root.path('.packages');
/// `true` if the entrypoint package currently has a lock file.
bool get lockFileExists => _lockFile != null || entryExists(lockFilePath);
......
......@@ -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('--packages=${p.toUri(p.absolute(entrypoint.packagesFile))}');
vmArgs.add('--package-root=${p.toUri(p.absolute(entrypoint.packagesDir))}');
}
vmArgs.add(executableUrl.toString());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment