You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: plugin-maven/CHANGES.md
+2
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,8 @@
3
3
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `1.27.0`).
4
4
5
5
## [Unreleased]
6
+
### Added
7
+
* A synthesis log with the number of considered files is added after each formatter execution ([#1507](https://github.com/diffplug/spotless/pull/1507))
thrownewMojoExecutionException("Unable to format file " + file, e);
52
59
}
53
60
54
61
upToDateChecker.setUpToDate(file.toPath());
55
62
}
63
+
64
+
// We print the number of considered files which is useful when ratchetFrom is setup
65
+
if (counter.getTotal() > 0) {
66
+
getLog().info(String.format("Spotless.%s is keeping %s files clean - %s were changed to be clean, %s were already clean, %s were skipped because caching determined they were already clean",
getLog().warn(String.format("Spotless.%s has no target files. Examine your `<includes>`: https://github.com/diffplug/spotless/tree/main/plugin-maven#quickstart", formatter.getName()));
0 commit comments