Skip to content

Commit

Permalink
feat: ✨ enable extended globbing for --filter (implements #91)
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed May 25, 2020
1 parent 9bbf466 commit 4ce826c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ export class Workspace {
const withDeps = filter.startsWith("+")
if (withDeps) filter = filter.slice(1)
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call
const regex: RegExp = globrex(filter, { filepath: true }).regex
const regex: RegExp = globrex(filter, { filepath: true, extended: true })
.regex
const names = new Set<string>()
ret.forEach((p) => {
if (
Expand Down

0 comments on commit 4ce826c

Please sign in to comment.