Skip to content

Commit 6d4c65e

Browse files
committed
chore: overwrite tests only for protocol_tests
1 parent c80446b commit 6d4c65e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/generate-clients/copy-to-clients.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ const getOverwritableDirectories = (subDirectories, packageName) => {
99
};
1010
const overwritableDirectories = [
1111
"src", // contains all source files
12-
"tests", // protocol_tests
1312
"LICENCE",
1413
"README.md",
1514
];
1615
return subDirectories.filter((subDirectory) => {
1716
return (
1817
overwritableDirectories.indexOf(subDirectory) >= 0 ||
18+
(packageName.startsWith("aws-") && subDirectory === "tests") ||
1919
additionalGeneratedFiles[packageName]?.indexOf(subDirectory) >= 0
2020
);
2121
});

0 commit comments

Comments
 (0)