diff --git a/lib/src/command/lish.dart b/lib/src/command/lish.dart index 6354c2436..f0706516a 100644 --- a/lib/src/command/lish.dart +++ b/lib/src/command/lish.dart @@ -164,7 +164,7 @@ class LishCommand extends PubCommand { log.error("Sorry, your package is missing " "${(errors.length > 1) ? 'some requirements' : 'a requirement'} " "and can't be published yet.\nFor more information, see: " - "http://pub.dartlang.org/doc/pub-lish.html.\n"); + "https://www.dartlang.org/tools/pub/cmd/pub-lish.\n"); return false; } diff --git a/lib/src/lock_file.dart b/lib/src/lock_file.dart index 0eb9a9d5d..9f6045adc 100644 --- a/lib/src/lock_file.dart +++ b/lib/src/lock_file.dart @@ -270,7 +270,7 @@ class LockFile { var data = {'sdks': sdks, 'packages': packageMap}; return """ # Generated by pub -# See http://pub.dartlang.org/doc/glossary.html#lockfile +# See https://www.dartlang.org/tools/pub/glossary#lockfile ${yamlToString(data)} """; } diff --git a/lib/src/oauth2.dart b/lib/src/oauth2.dart index 9d2ee49db..281ad6a28 100644 --- a/lib/src/oauth2.dart +++ b/lib/src/oauth2.dart @@ -198,7 +198,7 @@ Future _authorize() { grant.handleAuthorizationResponse(queryToMap(queryString)), completer); - return new shelf.Response.found('http://pub.dartlang.org/authorized'); + return new shelf.Response.found('https://pub.dartlang.org/authorized'); }); var authUrl = grant.getAuthorizationUrl( diff --git a/test/oauth2/utils.dart b/test/oauth2/utils.dart index 214570495..5ea21a779 100644 --- a/test/oauth2/utils.dart +++ b/test/oauth2/utils.dart @@ -31,7 +31,7 @@ Future authorizePub(TestProcess pub, ShelfTestServer server, ..followRedirects = false) .send(); expect(response.headers['location'], - equals('http://pub.dartlang.org/authorized')); + equals('https://pub.dartlang.org/authorized')); handleAccessTokenRequest(server, accessToken); }