Skip to content

Commit

Permalink
fix ignored single files (dotfiles/vcs)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbuchlak committed Oct 27, 2023
1 parent 52d69d8 commit 4f4447c
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 4f4447c

Please sign in to comment.