From 16274e48ecba1b6db890ac3b7a1374be0ed4b2b7 Mon Sep 17 00:00:00 2001 From: Adrian Smijulj Date: Thu, 7 Jul 2022 12:26:52 +0200 Subject: [PATCH] feat: allow defining *.wac.ts files in subdirectories --- src/commands/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/utils.ts b/src/commands/utils.ts index 5edd773..28aab63 100644 --- a/src/commands/utils.ts +++ b/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 }); };