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 5155eb6 commit 5d59312Copy full SHA for 5d59312
codegen/src/main/java/software/amazon/awssdk/codegen/CodeGenerator.java
@@ -52,7 +52,8 @@ public CodeGenerator(Builder builder) {
52
this.models = builder.models;
53
this.sourcesDirectory = builder.sourcesDirectory;
54
this.testsDirectory = builder.testsDirectory;
55
- this.resourcesDirectory = builder.resourcesDirectory;
+ this.resourcesDirectory = builder.resourcesDirectory != null ? builder.resourcesDirectory
56
+ : builder.sourcesDirectory;
57
this.fileNamePrefix = builder.fileNamePrefix;
58
}
59
0 commit comments