File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
lib-extra/src/main/java/com/diffplug/spotless/extra Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -192,8 +192,10 @@ static class RuntimeInit {
192192 /////////////////////////////////
193193 // USER AND SYSTEM-WIDE VALUES //
194194 /////////////////////////////////
195- FS .DETECTED .setGitSystemConfig (new File ("no-global-git-config-for-spotless" )); // this fixes a problem
196- // that was only occurring on Java 11. If we remove support for Java 11, we could probably remove it.
195+ FS .DETECTED .setGitSystemConfig (new File ("no-global-git-config-for-spotless" ));
196+ // ^^^ fixes a problem that was only occurring on Java 11. If we remove support for Java 11, we could probably remove it.
197+ // EDIT: Wrong, when Java 17 became the baseline it only happens on Java 17. https://github.com/diffplug/spotless/issues/2375#issuecomment-2573885902
198+
197199 systemConfig = SystemReader .getInstance ().openSystemConfig (null , FS .DETECTED );
198200 Errors .log ().run (systemConfig ::load );
199201 userConfig = SystemReader .getInstance ().openUserConfig (systemConfig , FS .DETECTED );
You can’t perform that action at this time.
0 commit comments