We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef93cbb commit 4a3d7c2Copy full SHA for 4a3d7c2
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ConcatFilesTask.java
@@ -83,7 +83,7 @@ public void setAdditionalLines(List<String> additionalLines) {
83
@TaskAction
84
public void concatFiles() throws IOException {
85
if (getHeaderLine() != null) {
86
- getTarget().mkdirs();
+ getTarget().getParentFile().mkdirs();
87
Files.write(getTarget().toPath(), (getHeaderLine() + '\n').getBytes(StandardCharsets.UTF_8));
88
}
89
0 commit comments