Skip to content

Commit f9e1576

Browse files
authored
chore: update api-examples script folder filter (#5119)
1 parent 3413770 commit f9e1576

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/api-examples/merge-examples.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ module.exports = {
4343
console.error(`${folder} does not have a Smithy model.`);
4444
continue;
4545
}
46-
const modelFolders = readdirSync(join(location, folder));
46+
const modelFolders = readdirSync(join(location, folder)).filter(name => !name.startsWith("."));
4747
for (const c2jFolder of modelFolders.filter((name) => name !== "smithy")) {
4848
const c2jFiles = readdirSync(join(location, folder, c2jFolder));
4949
for (const examples of c2jFiles.filter((file) => file.includes("examples"))) {

0 commit comments

Comments
 (0)