Skip to content

Commit

Permalink
fix(git): append glob prefix to filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
vvagaytsev committed Dec 11, 2023
1 parent 3009fb2 commit 2ad4d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/vcs/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ export async function augmentGlobs(basePath: string, globs?: string[]): Promise<
try {
const path = joinWithPosix(basePath, pattern)
const stats = await stat(path)
return stats.isDirectory() ? posix.join(pattern, "**", "*") : pattern
return stats.isDirectory() ? posix.join(pattern, "**", "*") : posix.join("**", pattern)
} catch {
return pattern
}
Expand Down

0 comments on commit 2ad4d5f

Please sign in to comment.