Skip to content

Commit

Permalink
Files.createDirectory => Files.createDirectories
Browse files Browse the repository at this point in the history
  • Loading branch information
ustc-zzzz committed Jul 30, 2021
1 parent f7455d6 commit 5373631
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'

version = '0.4.4'
version = '0.4.5'
group = 'org.teaconmc'
archivesBaseName = 'SlideShow'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public CompletableFuture<byte[]> download(URI location, boolean online) {

private void ensureDirectory(Path parentPath) {
try {
Files.createDirectory(parentPath);
Files.createDirectories(parentPath);
} catch (IOException e) {
throw new RuntimeException("Failed to create cache directory for slides.", e);
}
Expand Down

0 comments on commit 5373631

Please sign in to comment.