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 b7b17a9 commit b22f54fCopy full SHA for b22f54f
plugin-maven/src/main/java/com/diffplug/spotless/maven/incremental/UpToDateChecker.java
@@ -49,7 +49,10 @@ public void setUpToDate(Path file) {
49
50
@Override
51
public boolean isUpToDate(Path file) {
52
- return !buildContext.hasDelta(file.toFile()) && delegate.isUpToDate(file);
+ if (buildContext.hasDelta(file)) {
53
+ return delegate.isUpToDate(file);
54
+ }
55
+ return true;
56
}
57
58
0 commit comments