Skip to content

Commit 0b7e58c

Browse files
Update packages/cli/src/cli/cmd/show/files.ts
fix: correct file filter matching logic Co-authored-by: Copilot <[email protected]>
1 parent e63dd2e commit 0b7e58c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/cli/src/cli/cmd/show/files.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ export default new Command()
6666
const matchesFilter = type.file.some(
6767
(f: string) =>
6868
bucketConfig.pathPattern.includes(f) ||
69+
minimatch(bucketConfig.pathPattern, `*${f}*`) ||
6970
minimatch(bucketConfig.pathPattern, f),
7071
);
7172
if (!matchesFilter) {

0 commit comments

Comments
 (0)