Skip to content

Commit 99456de

Browse files
authored
[code_assets] [hooks] Fix process run in test - take two (#2549)
1 parent 780ab1c commit 99456de

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkgs/code_assets/test/example/pub_publish_size_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ void main() {
1515
final packageRoot = findPackageRoot('code_assets');
1616

1717
final dryRunResult = Process.runSync(
18-
Platform.executable,
18+
Platform.resolvedExecutable,
1919
['pub', 'publish', '--dry-run'],
2020
workingDirectory: packageRoot.toFilePath(),
2121
stdoutEncoding: utf8,

pkgs/hooks/test/example/pub_publish_size_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ void main() {
1515
final packageRoot = findPackageRoot('hooks');
1616

1717
final dryRunResult = Process.runSync(
18-
Platform.executable,
18+
Platform.resolvedExecutable,
1919
['pub', 'publish', '--dry-run'],
2020
workingDirectory: packageRoot.toFilePath(),
2121
stdoutEncoding: utf8,

0 commit comments

Comments
 (0)