Chromium Code Reviews| Index: dart/sdk/lib/_internal/pub/lib/src/command/lish.dart |
| diff --git a/dart/sdk/lib/_internal/pub/lib/src/command/lish.dart b/dart/sdk/lib/_internal/pub/lib/src/command/lish.dart |
| index 1cc95ace29773c7b68628666a7b7a8dddbbf7371..8c070dc040e561e78c761668d087e31f29dc2211 100644 |
| --- a/dart/sdk/lib/_internal/pub/lib/src/command/lish.dart |
| +++ b/dart/sdk/lib/_internal/pub/lib/src/command/lish.dart |
| @@ -96,9 +96,7 @@ class LishCommand extends PubCommand { |
| Future onRun() { |
| // Sanity check. Don't push to the production server when running tests or |
| // developing on pub. |
| - if (sdk.isBleedingEdge && |
| - server.toString() == HostedSource.defaultUrl && |
| - !dryRun) { |
| + if (server.toString() == HostedSource.defaultUrl && !dryRun) { |
|
Bob Nystrom
2013/12/05 17:40:06
You'll want to remove this entire if block (and th
kustermann
2013/12/05 18:32:00
Sure, that was pretty stupid.
|
| log.error('Cannot publish to $server from bleeding edge pub!'); |
| return null; |
| } |