| Index: lib/src/util/io.dart
|
| diff --git a/lib/src/util/io.dart b/lib/src/util/io.dart
|
| index 2f53610bd29418b83e87e91e879d7ec1c159c602..cb35ed7c25a302d53e08aaa633f7b6fa60b27520 100644
|
| --- a/lib/src/util/io.dart
|
| +++ b/lib/src/util/io.dart
|
| @@ -20,7 +20,7 @@ final String sdkDir =
|
|
|
| /// The version of the Dart SDK currently in use.
|
| final Version _sdkVersion = new Version.parse(
|
| - new File(p.join(p.dirname(p.dirname(Platform.executable)), 'version'))
|
| + new File(p.join(sdkDir, 'version'))
|
| .readAsStringSync().trim());
|
|
|
| /// Returns the current operating system.
|
|
|