| Index: sdk/lib/_internal/pub/bin/pub.dart
|
| diff --git a/sdk/lib/_internal/pub/bin/pub.dart b/sdk/lib/_internal/pub/bin/pub.dart
|
| index ca88d38d97c0184a46ef0743d9a29212c7ac5ffa..e19d9a03f02bc669d6f033c4472a3e2e333faa0c 100644
|
| --- a/sdk/lib/_internal/pub/bin/pub.dart
|
| +++ b/sdk/lib/_internal/pub/bin/pub.dart
|
| @@ -122,7 +122,7 @@ ArgParser initArgParser() {
|
| /// an error message and exits. Completes when the validation is done.
|
| Future validatePlatform() {
|
| return new Future.sync(() {
|
| - if (Platform.operatingSystem != 'windows') return;
|
| + if (Platform.operatingSystem != 'windows') return null;
|
|
|
| return runProcess('ver', []).then((result) {
|
| if (result.stdout.join('\n').contains('XP')) {
|
|
|