Skip to content

Commit

Permalink
Merge branch '__rultor'
Browse files Browse the repository at this point in the history
  • Loading branch information
rultor committed Apr 9, 2024
2 parents 4f10c0b + d048074 commit 579940b
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ public final class SkipIfTooSmall implements Proc<Pull> {
@Override
public void exec(final Pull pull) throws Exception {
final Integer min = this.lines.value();
if (min != 0) {
if (min == 0) {
this.routine.exec(pull);
} else {
final int changes = new ChangesCount(pull).value();
if (min > changes) {
Logger.info(
Expand All @@ -73,6 +75,5 @@ public void exec(final Pull pull) throws Exception {
this.routine.exec(pull);
}
}
this.routine.exec(pull);
}
}

0 comments on commit 579940b

Please sign in to comment.