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

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

Issue 104403005: Change SDK/DartEditor versioning scheme to semantic versions. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments 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..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;
}

Powered by Google App Engine
This is Rietveld 408576698