| Index: sdk/lib/_internal/pub/lib/src/sdk.dart
 | 
| diff --git a/sdk/lib/_internal/pub/lib/src/sdk.dart b/sdk/lib/_internal/pub/lib/src/sdk.dart
 | 
| index 0fbe5f966eeb3fb69f4c2272d999ce4868dcfd5b..7f4e26a2d10d8200b63f898983f37e20af897a0d 100644
 | 
| --- a/sdk/lib/_internal/pub/lib/src/sdk.dart
 | 
| +++ b/sdk/lib/_internal/pub/lib/src/sdk.dart
 | 
| @@ -29,7 +29,7 @@ String get rootDirectory {
 | 
|    }
 | 
|  
 | 
|    // Assume the Dart executable is always coming from the SDK.
 | 
| -  return path.dirname(path.dirname(new Options().executable));
 | 
| +  return path.dirname(path.dirname(Platform.executable));
 | 
|  }
 | 
|  
 | 
|  /// Gets the SDK's revision number formatted to be a semantic version.
 | 
| 
 |