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

Unified Diff: sdk/lib/_internal/pub/lib/src/executable.dart

Issue 601923004: Fix a couple minor bugs/typos in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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
Index: sdk/lib/_internal/pub/lib/src/executable.dart
diff --git a/sdk/lib/_internal/pub/lib/src/executable.dart b/sdk/lib/_internal/pub/lib/src/executable.dart
index f689572268dc81e794e3945aee2d16a9c85974ea..38105925f88befd4f655776caada5d51c17d5710 100644
--- a/sdk/lib/_internal/pub/lib/src/executable.dart
+++ b/sdk/lib/_internal/pub/lib/src/executable.dart
@@ -118,7 +118,7 @@ Future<int> runExecutable(Entrypoint entrypoint, String package,
// Get the URL of the executable, relative to the server's root directory.
var relativePath = p.url.relative(assetPath,
from: p.url.joinAll(p.split(server.rootDirectory)));
- vmArgs.add('bin/css.dart');
+ vmArgs.add(server.url.resolve(relativePath).toString());
vmArgs.addAll(args);
var process = await Process.start(Platform.executable, vmArgs);

Powered by Google App Engine
This is Rietveld 408576698