Skip to content

Commit 43d8044

Browse files
committed
Edge case: avoiding directories named .rst
1 parent 1d2603a commit 43d8044

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CI/MissingFilesChecker.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public function checkMissingFiles(SymfonyStyle $io)
2525
$this->finder->in($this->buildContext->getSourceDir())
2626
->exclude(['_build', '.github', '.platform', '_images'])
2727
->notName('*.rst.inc')
28+
->files()
2829
->name('*.rst');
2930

3031
foreach ($this->finder as $file) {

0 commit comments

Comments
 (0)