Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexios80 committed Dec 1, 2024
1 parent 3aab2a6 commit fff6b52
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/test_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,14 @@ Future<PubyProcessResult> testCommand(
final puby = File(path.join('bin', 'puby.dart')).absolute.path;

if (link) {
await Process.run(
final result = await Process.run(
'dart',
[puby, 'link'],
workingDirectory: workingDirectory,
);
if (result.exitCode != 0) {
throw Exception(result.stderr);
}
}

final process = await Process.start(
Expand Down

0 comments on commit fff6b52

Please sign in to comment.