Skip to content

Commit

Permalink
fix: use minimatch without matchBase:true (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjermanovic authored Jun 1, 2024
1 parent b757cce commit 4a89c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/configs.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Minimatch } from 'minimatch'
import type { FlatConfigItem, MatchedFile } from './types'

const minimatchOpts = { dot: true, matchBase: true }
const minimatchOpts = { dot: true }
const _matchInstances = new Map<string, Minimatch>()

function minimatch(file: string, pattern: string) {
Expand Down

0 comments on commit 4a89c48

Please sign in to comment.