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

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

Issue 103233006: Reapply "Change SDK/DartEditor versioning scheme to semantic versions." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years 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: 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..6d75814336c2f5d39ae5ca6dc019b7282a9d2cd5 100644
--- a/dart/sdk/lib/_internal/pub/lib/src/command/lish.dart
+++ b/dart/sdk/lib/_internal/pub/lib/src/command/lish.dart
@@ -94,15 +94,6 @@ 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) {
- log.error('Cannot publish to $server from bleeding edge pub!');
- return null;
- }
-
if (force && dryRun) {
log.error('Cannot use both --force and --dry-run.');
this.printUsage();

Powered by Google App Engine
This is Rietveld 408576698