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 fff6b52 commit 706b82d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_utils.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'dart:convert';
import 'dart:io';

import 'package:io/io.dart';
import 'package:test/test.dart';
import 'package:path/path.dart' as path;

Expand Down Expand Up @@ -39,7 +40,8 @@ Future<PubyProcessResult> testCommand(
workingDirectory: workingDirectory,
);
if (result.exitCode != 0) {
throw Exception(result.stderr);
print(result.stdout);
exit(ExitCode.software.code);
}
}

Expand Down

0 comments on commit 706b82d

Please sign in to comment.