Skip to content

Commit 8515447

Browse files
authored
fix ignored single files (dotfiles/vcs) (nunomaduro#663)
1 parent 52d69d8 commit 8515447

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Infrastructure/Repositories/LocalFilesRepository.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ private function getSingleFiles(): array
108108
$this->finder = Finder::create()
109109
->in($this->fileList['dirname'] ?? [])
110110
->name($this->fileList['basename'] ?? '')
111+
->ignoreDotFiles(false)
112+
->ignoreVCS(false)
111113
->filter(fn (SplFileInfo $file): bool => in_array(
112114
$file->getPathname(),
113115
$this->fileList['full_path'] ?? '',

0 commit comments

Comments
 (0)