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 a1d9272 commit c300f62Copy full SHA for c300f62
cli/src/main/java/dev/starfix/Starfix.java
@@ -126,7 +126,7 @@ public static File getConfigFile() {
126
127
if(!configDir.exists()){ // If .config directory does not exist we create it
128
if(!configDir.mkdir()){ // If creation failed
129
- throw new IllegalArgumentException("Cannot create .config directory: " + configDir.getAbsolutePath());
+ throw new IllegalStateException("Cannot create .config directory: " + configDir.getAbsolutePath());
130
}
131
132
return new File(userHome + "/.config/starfix.yaml");
0 commit comments