Skip to content

Commit

Permalink
Fix the "external process" warnings that the up-to-date test was gene…
Browse files Browse the repository at this point in the history
…rating.
  • Loading branch information
nedtwigg committed Jan 3, 2025
1 parent 2b3a808 commit c4f2398
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2016-2023 DiffPlug
* Copyright 2016-2025 DiffPlug
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -193,6 +193,7 @@ static class RuntimeInit {
/////////////////////////////////
// USER AND SYSTEM-WIDE VALUES //
/////////////////////////////////
FS.DETECTED.setGitSystemConfig(new File("no-global-git-config-for-spotless"));
systemConfig = SystemReader.getInstance().openSystemConfig(null, FS.DETECTED);
Errors.log().run(systemConfig::load);
userConfig = SystemReader.getInstance().openUserConfig(systemConfig, FS.DETECTED);
Expand Down

0 comments on commit c4f2398

Please sign in to comment.