File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
lib-extra/src/main/java/com/diffplug/spotless/extra Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,8 @@ static class RuntimeInit {
193193 /////////////////////////////////
194194 // USER AND SYSTEM-WIDE VALUES //
195195 /////////////////////////////////
196- FS .DETECTED .setGitSystemConfig (new File ("no-global-git-config-for-spotless" ));
196+ FS .DETECTED .setGitSystemConfig (new File ("no-global-git-config-for-spotless" )); // this fixes a problem
197+ // that was only occurring on Java 11. If we remove support for Java 11, we could probably remove it.
197198 systemConfig = SystemReader .getInstance ().openSystemConfig (null , FS .DETECTED );
198199 Errors .log ().run (systemConfig ::load );
199200 userConfig = SystemReader .getInstance ().openUserConfig (systemConfig , FS .DETECTED );
You can’t perform that action at this time.
0 commit comments