Skip to content

Commit

Permalink
Avoid using Proc.status
Browse files Browse the repository at this point in the history
This method has been deprecated. Instead we now use Proc.exitcode and
Proc.signal to recreate the value.
  • Loading branch information
Leont committed Jul 22, 2021
1 parent 8f102db commit 83e099c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/TAP.pm
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class Result {
$!exit-status.defined ?? $!exit-status.exitcode !! Int;
}
method wait() {
$!exit-status.defined ?? $!exit-status.status !! Int;
$!exit-status.defined ?? ($!exit-status.exitcode +< 8) +| $!exit-status.signal !! Int;
}

method has-problems($ignore-exit) {
Expand Down

0 comments on commit 83e099c

Please sign in to comment.