Skip to content

Commit

Permalink
Update Docker build.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Feb 28, 2024
1 parent de0cd10 commit 2561153
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .docker/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ await cd(basePath)
const vocabs = []
for await (const entry of Deno.readDir(".")) {
if (entry.isDirectory && !entry.name.startsWith(".") && entry.name !== "node_modules") {
vocabs.push(entry.name)
if (Deno.args.length === 0 || Deno.args.includes(entry.name)) {
vocabs.push(entry.name)
}
}
}

Expand Down

0 comments on commit 2561153

Please sign in to comment.