Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit d699a4c

Browse files
committed
Fixed a bug where you couldn't create a folder inside of a folder that did not exists
1 parent 3636e47 commit d699a4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/org/codeoverflow/chatoverflow/connector/actor/FileSystemActor.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class FileSystemActor extends Actor {
6060
}
6161
case CreateDirectory(folderName) =>
6262
try {
63-
sender ! fixPath(folderName).mkdir()
63+
sender ! fixPath(folderName).mkdirs()
6464
} catch {
6565
case _: Exception => sender ! false
6666
}

0 commit comments

Comments
 (0)