Skip to content

Commit

Permalink
Fix bug with include resolution
Browse files Browse the repository at this point in the history
Signed-off-by: Liam Barry Allan <[email protected]>
  • Loading branch information
worksofliam committed Jan 31, 2023
1 parent ba07c9e commit f71c04f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f71c04f

Please sign in to comment.