We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7b4b2cd + 1d30d82 commit 84156c5Copy full SHA for 84156c5
1 file changed
tools/@aws-cdk/ubergen/bin/ubergen.ts
@@ -254,8 +254,9 @@ async function combineRosettaFixtures(libraries: readonly LibraryReference[]) {
254
255
for (const library of libraries) {
256
const packageRosettaDir = path.join(library.root, 'rosetta');
257
+ const uberRosettaTargetDir = library.shortName === 'core' ? uberRosettaDir : path.join(uberRosettaDir, library.shortName.replace(/-/g, '_'));
258
if (await fs.pathExists(packageRosettaDir)) {
- await fs.copy(packageRosettaDir, uberRosettaDir, {
259
+ await fs.copy(packageRosettaDir, uberRosettaTargetDir, {
260
overwrite: true,
261
recursive: true,
262
});
0 commit comments