Skip to content

Commit

Permalink
fix ignored single files (dotfiles/vcs) (#663)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbuchlak committed Nov 2, 2023
1 parent 52d69d8 commit 8515447
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Infrastructure/Repositories/LocalFilesRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ private function getSingleFiles(): array
$this->finder = Finder::create()
->in($this->fileList['dirname'] ?? [])
->name($this->fileList['basename'] ?? '')
->ignoreDotFiles(false)
->ignoreVCS(false)
->filter(fn (SplFileInfo $file): bool => in_array(
$file->getPathname(),
$this->fileList['full_path'] ?? '',
Expand Down

0 comments on commit 8515447

Please sign in to comment.