Skip to content

Commit 1c632fa

Browse files
lkorinthedvbld
authored andcommitted
Allow output path to be created with arbitrary directory nesting
Reviewed-by: ehelin
1 parent 43d34cc commit 1c632fa

File tree

1 file changed

+1
-3
lines changed
  • webrev/src/main/java/org/openjdk/skara/webrev

1 file changed

+1
-3
lines changed

webrev/src/main/java/org/openjdk/skara/webrev/Webrev.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,7 @@ public void generate(Hash tailEnd) throws IOException {
107107
}
108108

109109
public void generate(Hash tailEnd, Hash head) throws IOException {
110-
if (!Files.exists(output)) {
111-
Files.createDirectory(output);
112-
}
110+
Files.createDirectories(output);
113111

114112
copyResource(ANCNAV_HTML);
115113
copyResource(ANCNAV_JS);

0 commit comments

Comments
 (0)