Skip to content

Commit 1494e4f

Browse files
committed
fix: ignore _*.ts
1 parent 7960cc2 commit 1494e4f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/cli/build.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,12 @@ export async function build(args: string[]) {
1616
...fs
1717
.readdirSync(githubWorkflowsPath)
1818
.map((file) => path.join(githubWorkflowsPath, file))
19-
.filter((file) => file.endsWith(".ts")),
19+
.filter((file) => {
20+
if (!file.endsWith(".ts")) return false;
21+
if (path.basename(file).startsWith("_")) return false;
22+
23+
return true;
24+
}),
2025
);
2126
}
2227

0 commit comments

Comments
 (0)