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

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

Issue 18878005: add option to pick up hosted url from an anvironment variable (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 months 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
« no previous file with comments | « no previous file | sdk/lib/_internal/pub/lib/src/command/uploader.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/lib/src/command/lish.dart
===================================================================
--- sdk/lib/_internal/pub/lib/src/command/lish.dart (revision 25008)
+++ sdk/lib/_internal/pub/lib/src/command/lish.dart (working copy)
@@ -44,7 +44,7 @@
help: 'Validate but do not publish the package.');
commandParser.addFlag('force', abbr: 'f', negatable: false,
help: 'Publish without confirmation if there are no errors.');
- commandParser.addOption('server', defaultsTo: HostedSource.DEFAULT_URL,
+ commandParser.addOption('server', defaultsTo: HostedSource.defaultUrl,
help: 'The package server to which to upload this package.');
}
« no previous file with comments | « no previous file | sdk/lib/_internal/pub/lib/src/command/uploader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698