diff --git a/cli/index.ts b/cli/index.ts index 93de5e3e..b2e5de44 100644 --- a/cli/index.ts +++ b/cli/index.ts @@ -221,8 +221,9 @@ function setupParser(cwd: string, globPath: string): Parser { if (includeFile.includes(`,`)) { includeFile = includeFile.split(`,`).join(`/`) + `.*`; } - - const files = glob.sync(globPath, { + + includeFile = path.join(`**`, includeFile); + const files = glob.sync(includeFile, { cwd, absolute: true, nocase: true,