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

Unified Diff: sdk/lib/_internal/pub/lib/src/command/run.dart

Issue 399763002: Use ":" to separate package and executable name in pub global run. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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/command/run.dart
diff --git a/sdk/lib/_internal/pub/lib/src/command/run.dart b/sdk/lib/_internal/pub/lib/src/command/run.dart
index e1f3166b10a4309ceea10876e0fd81eaf72c4df2..9b49579076d7e68f1e6a19a0d8d91a4c7b4964c3 100644
--- a/sdk/lib/_internal/pub/lib/src/command/run.dart
+++ b/sdk/lib/_internal/pub/lib/src/command/run.dart
@@ -31,7 +31,6 @@ class RunCommand extends PubCommand {
usageError("Must specify an executable to run.");
}
- var environment;
var package = entrypoint.root.name;
var executable = commandOptions.rest[0];
var args = commandOptions.rest.skip(1).toList();

Powered by Google App Engine
This is Rietveld 408576698