Skip to content

Commit

Permalink
feat: allow defining *.wac.ts files in subdirectories
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Jul 7, 2022
1 parent cd5791f commit 16274e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/utils.ts
@@ -1,7 +1,7 @@
import * as glob from "fast-glob";

export const getWorkflowsPaths = () => {
const workflowFilesGlobs = [[process.cwd(), ".github", "workflows", "*.wac.ts"].join("/")];
const workflowFilesGlobs = [[process.cwd(), ".github", "workflows", "**/*.wac.ts"].join("/")];

return glob.sync(workflowFilesGlobs, { onlyFiles: true });
};
Expand Down

0 comments on commit 16274e4

Please sign in to comment.