| Index: pkg/analyzer/lib/options.dart
|
| diff --git a/pkg/analyzer/lib/options.dart b/pkg/analyzer/lib/options.dart
|
| index 2cf2d5825c842b30b90051522f0f9a8205709413..32fc49ae4a03bfe06feae835805687b02a9b882c 100644
|
| --- a/pkg/analyzer/lib/options.dart
|
| +++ b/pkg/analyzer/lib/options.dart
|
| @@ -175,7 +175,7 @@ class CommandLineOptions {
|
|
|
| static String _getVersion() {
|
| try {
|
| - String versionPath = Platform.script.resolve('../version').toFilePath();
|
| + String versionPath = join(dirname(Platform.script), '..', 'version');;
|
| File versionFile = new File(versionPath);
|
| return versionFile.readAsStringSync().trim();
|
| } catch (_) {
|
|
|