diff --git a/lib/Whateverable/Bisection.pm6 b/lib/Whateverable/Bisection.pm6 index eba7119..b9ef96b 100644 --- a/lib/Whateverable/Bisection.pm6 +++ b/lib/Whateverable/Bisection.pm6 @@ -44,17 +44,18 @@ sub run-bisect(&runner = &standard-runner, #← Something to run on every revi ); take “»»»»» Testing $current-commit”; + my $revision-type; if $skip-missing-builds and not build-exists $current-commit { take ‘»»»»» Build does not exist, skip this commit’; - take get-output(cwd => $repo-cwd, , Skip.lc); - next + $revision-type = Skip; + } else { + my $run-result = &runner( :$current-commit, |%custom); + $revision-type = &decider($run-result, :$current-commit, |%custom); } - my $run-result = &runner( :$current-commit, |%custom); - my $revision-type = &decider($run-result, :$current-commit, |%custom); - my $result = get-output cwd => $repo-cwd, - , $revision-type.lc; + my $result = get-output cwd => $repo-cwd, , $revision-type.lc; $status = $result; + if $result ~~ /^^ (\S+) ‘ is the first new commit’ / { $first-new-commit = ~$0; take $result;