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 cd04b47 commit 23c3b66Copy full SHA for 23c3b66
codegen/src/main/java/software/amazon/awssdk/codegen/emitters/CodeWriter.java
@@ -119,6 +119,7 @@ public void flush() {
119
if (fileSize(outputFile) == 0) {
120
try (BufferedWriter writer = Files.newBufferedWriter(outputFile, StandardCharsets.UTF_8)) {
121
writer.write(formattedContents);
122
+ writer.flush();
123
}
124
} else {
125
validateFileContentMatches(outputFile, formattedContents);
0 commit comments