diff --git a/src/index.ts b/src/index.ts index bb02378f..74efd1fc 100644 --- a/src/index.ts +++ b/src/index.ts @@ -789,7 +789,7 @@ export class Minimatch { if (fd.toLowerCase() === pd.toLowerCase()) { pattern[pdi] = fd if (pdi > fdi) { - pattern = pattern.slice( pdi) + pattern = pattern.slice(pdi) } else if (fdi > pdi) { file = file.slice(fdi) }