Skip to content

Commit

Permalink
chore: update api-examples script folder filter (#5119)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe committed Aug 21, 2023
1 parent 3413770 commit f9e1576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/api-examples/merge-examples.js
Expand Up @@ -43,7 +43,7 @@ module.exports = {
console.error(`${folder} does not have a Smithy model.`);
continue;
}
const modelFolders = readdirSync(join(location, folder));
const modelFolders = readdirSync(join(location, folder)).filter(name => !name.startsWith("."));
for (const c2jFolder of modelFolders.filter((name) => name !== "smithy")) {
const c2jFiles = readdirSync(join(location, folder, c2jFolder));
for (const examples of c2jFiles.filter((file) => file.includes("examples"))) {
Expand Down

0 comments on commit f9e1576

Please sign in to comment.