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 e1c9598 commit d048074Copy full SHA for d048074
src/main/java/git/tracehub/codereview/action/SkipIfTooSmall.java
@@ -52,7 +52,9 @@ public final class SkipIfTooSmall implements Proc<Pull> {
52
@Override
53
public void exec(final Pull pull) throws Exception {
54
final Integer min = this.lines.value();
55
- if (min != 0) {
+ if (min == 0) {
56
+ this.routine.exec(pull);
57
+ } else {
58
final int changes = new ChangesCount(pull).value();
59
if (min > changes) {
60
Logger.info(
@@ -73,6 +75,5 @@ public void exec(final Pull pull) throws Exception {
73
75
this.routine.exec(pull);
74
76
}
77
- this.routine.exec(pull);
78
79
0 commit comments