Chromium Code Reviews

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

Issue 372123002: Get rid of deferred binding for usage errors. (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.
Jump to:
View side-by-side diff with in-line comments
Index: sdk/lib/_internal/pub/lib/src/command/global_run.dart
diff --git a/sdk/lib/_internal/pub/lib/src/command/global_run.dart b/sdk/lib/_internal/pub/lib/src/command/global_run.dart
index bdffb93990544c3f812d8c2ca974f5448c108b8f..11f08c078cca53606a5d67b32bbf86a23efe6cec 100644
--- a/sdk/lib/_internal/pub/lib/src/command/global_run.dart
+++ b/sdk/lib/_internal/pub/lib/src/command/global_run.dart
@@ -43,7 +43,7 @@ class GlobalRunCommand extends PubCommand {
var args = commandOptions.rest.skip(2);
return globals.find(package).then((entrypoint) {
- return runExecutable(entrypoint, package, executable, args);
+ return runExecutable(this, entrypoint, package, executable, args);
}).then(flushThenExit);
}
}

Powered by Google App Engine