Skip to content

Commit 16e93f0

Browse files
committed
-
1 parent 67757d3 commit 16e93f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CI/MissingFilesChecker.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function getMissingFiles(): array
3333
$orphanedFiles = [];
3434

3535
foreach ($finder as $file) {
36-
$sourcePath = u($file->getPathname())->after($this->buildContext->getSourceDir())->trimEnd('/');
36+
$sourcePath = u($file->getPathname())->after($this->buildContext->getSourceDir())->trimStart('/');
3737
$htmlFile = sprintf('%s/%s.html', $this->buildContext->getOutputDir(), $sourcePath->slice(0, -4));
3838

3939
$firstLine = fgets(fopen($file->getRealPath(), 'rb'));

0 commit comments

Comments
 (0)