Skip to content

Commit

Permalink
Revert "Faster FileInfoMatcher (#196)" (#197)
Browse files Browse the repository at this point in the history
This reverts commit cfa7d5b.
  • Loading branch information
samsonasik committed Apr 19, 2024
1 parent cfa7d5b commit ca60973
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Skipper/Matcher/FileInfoMatcher.php
Expand Up @@ -61,11 +61,6 @@ private function doesFileInfoMatchPattern(SplFileInfo | string $file, string $ig
return true;
}

// realpathMatcher cannot resolve wildcards -> return early to prevent unnecessary IO
if (str_contains($ignoredPath, '*')) {
return false;
}

return $this->realpathMatcher->match($ignoredPath, $filePath);
}
}

0 comments on commit ca60973

Please sign in to comment.