| Index: utils/pub/command_uploader.dart
|
| diff --git a/utils/pub/command_uploader.dart b/utils/pub/command_uploader.dart
|
| index eb3cd4ac0f0a685429a09efc37d590d82158c646..a3d23d414647ef5d48c8b78570721af3326681a5 100644
|
| --- a/utils/pub/command_uploader.dart
|
| +++ b/utils/pub/command_uploader.dart
|
| @@ -38,7 +38,7 @@ class UploaderCommand extends PubCommand {
|
| }
|
|
|
| /// The URL of the package hosting server.
|
| - Uri get server => new Uri.fromString(commandOptions['server']);
|
| + Uri get server => Uri.parse(commandOptions['server']);
|
|
|
| Future onRun() {
|
| if (commandOptions.rest.isEmpty) {
|
|
|