Skip to content

Commit c71054e

Browse files
committed
fix: Add case sensitivity for path matching on linux
1 parent 6629723 commit c71054e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Path.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public function absolute(): self
209209
public function match(string|self $pattern): bool
210210
{
211211
\is_string($pattern) and $pattern = self::create($pattern);
212-
return \fnmatch((string) $pattern->absolute(), $this->absolute()->path, \FNM_NOESCAPE | \FNM_CASEFOLD);
212+
return \fnmatch((string) $pattern->absolute(), $this->absolute()->path, \FNM_NOESCAPE);
213213
}
214214

215215
/**

0 commit comments

Comments
 (0)