commit | 5933e2dfbcebc021fdeea1bbcf9830f1e47f7321 | [log] [tgz] |
---|---|---|
author | Brian Wilkerson <brianwilkerson@google.com> | Sat Feb 19 16:51:22 2022 +0000 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Feb 19 16:51:22 2022 +0000 |
tree | 58105138560c9b43dc62af64e2aecaa37b3a1a3d | |
parent | db30a5f6702c8bc8dfe3c63ac7c662939d3f2351 [diff] |
Replace a hard-coded path with a computed path Fixes https://github.com/dart-lang/sdk/issues/48355 Change-Id: Ib6b46ab73f7264f6f7f23a603b57d1fbbedc0752 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/233656 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
diff --git a/pkg/analysis_server/test/stress/replay/replay.dart b/pkg/analysis_server/test/stress/replay/replay.dart index a674281..7de5c96 100644 --- a/pkg/analysis_server/test/stress/replay/replay.dart +++ b/pkg/analysis_server/test/stress/replay/replay.dart
@@ -404,8 +404,7 @@ void _runPub(String filePath) { var directoryPath = path.dirname(filePath); if (Directory(directoryPath).existsSync()) { - Process.runSync( - '/Users/brianwilkerson/Dev/dart/dart-sdk/bin/pub', ['get'], + Process.runSync(Platform.resolvedExecutable, ['pub', 'get'], workingDirectory: directoryPath); } }