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

Unified Diff: sdk/lib/_internal/pub/bin/pub.dart

Issue 69723004: Get rid of DART_SDK in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. Created 7 years, 1 month 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/sdk.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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')) {
« no previous file with comments | « no previous file | sdk/lib/_internal/pub/lib/src/sdk.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698