We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b54d7e0 commit fbc2693Copy full SHA for fbc2693
lib/Perl/Dist/Strawberry.pm
@@ -119,11 +119,21 @@ sub do_job {
119
120
#check
121
$self->message(0, "starting global check");
122
- $i = 0;
123
- for (@{$self->{build_job_steps}}) {
124
- $self->message(1, "checking [step:$i] ".ref($_));
125
- $_->check unless $_->{data}->{done} || $_->{config}->{disable}; # dies on error
+ $i = -1;
+ STEP:
+ for my $step (@{$self->{build_job_steps}}) {
126
$i++;
+ my $msg = "checking [step:$i] ".ref($_);
127
+ if ($step->{config}->{disable}) {
128
+ $msg .= " (disabled, skipping check)";
129
+ $self->message(1, $msg);
130
+ next STEP;
131
+ }
132
133
+
134
+ next STEP if $step->{data}->{done};
135
136
+ $step->check; # dies on error
137
};
138
139
#run
0 commit comments