Index: lib/src/command/run.dart |
diff --git a/lib/src/command/run.dart b/lib/src/command/run.dart |
index 55cc957dd9748ecdd28cb2cec71abde005affe71..04cce11d9522442537cb1fba94a6ab12eb00ad81 100644 |
--- a/lib/src/command/run.dart |
+++ b/lib/src/command/run.dart |
@@ -55,18 +55,7 @@ class RunCommand extends PubCommand { |
} else if (onlyIdentifierRegExp.hasMatch(executable)) { |
// "pub run foo" means the same thing as "pub run foo:foo" as long as |
// "foo" is a valid Dart identifier (and thus package name). |
- |
- // TODO(nweiz): Remove this after Dart 1.10 ships. |
- var localPath = p.join("bin", "$executable.dart"); |
- if (fileExists(localPath) && executable != entrypoint.root.name) { |
- log.warning( |
- 'In future releases, "pub run $executable" will mean the same ' |
- 'thing as "pub run $executable:$executable".\n' |
- 'Run "pub run ${p.join("bin", executable)}" explicitly to run the ' |
- 'local executable.'); |
- } else { |
- package = executable; |
- } |
+ package = executable; |
} |
var mode; |