Skip to content

Commit d64d9b0

Browse files
author
Fahad Israr
committed
create entire path
1 parent c300f62 commit d64d9b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/src/main/java/dev/starfix/Starfix.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public static File getConfigFile() {
125125
File configDir = new File(userHome+ "/.config");
126126

127127
if(!configDir.exists()){ // If .config directory does not exist we create it
128-
if(!configDir.mkdir()){ // If creation failed
128+
if(!configDir.mkdirs()){ // If creation failed
129129
throw new IllegalStateException("Cannot create .config directory: " + configDir.getAbsolutePath());
130130
}
131131
}

0 commit comments

Comments
 (0)