Skip to content

Commit

Permalink
Creating parent dir from parent file
Browse files Browse the repository at this point in the history
  • Loading branch information
LikeTheSalad committed Sep 7, 2022
1 parent 5e6d66a commit e48c26b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -79,7 +79,7 @@ public void execute(InputChanges inputChanges) {
case MODIFIED:
try {
if (!target.getParentFile().exists()) {
target.mkdirs();
target.getParentFile().mkdirs();
}
FileSystem.getInstance().copy(fileChange.getFile(), target);
} catch (IOException e) {
Expand Down

0 comments on commit e48c26b

Please sign in to comment.