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

Unified Diff: sdk/lib/_internal/pub/lib/src/command/uploader.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 | « sdk/lib/_internal/pub/lib/src/command/lish.dart ('k') | sdk/lib/_internal/pub/lib/src/source/hosted.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/uploader.dart
===================================================================
--- sdk/lib/_internal/pub/lib/src/command/uploader.dart (revision 25008)
+++ sdk/lib/_internal/pub/lib/src/command/uploader.dart (working copy)
@@ -30,7 +30,7 @@
Uri get server => Uri.parse(commandOptions['server']);
UploaderCommand() {
- commandParser.addOption('server', defaultsTo: HostedSource.DEFAULT_URL,
+ commandParser.addOption('server', defaultsTo: HostedSource.defaultUrl,
help: 'The package server on which the package is hosted.');
commandParser.addOption('package',
help: 'The package whose uploaders will be modified.\n'
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/command/lish.dart ('k') | sdk/lib/_internal/pub/lib/src/source/hosted.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698