Skip to content

Commit

Permalink
Update FileEnumerator.php
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHenryIE committed Dec 11, 2023
1 parent 5dbf30f commit 8d7f4da
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/FileEnumerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@ public function compileFileList(): void
continue;
}

if (!$this->filesystem->fileExists($sourceRelativePath)) {
continue;
}

if ('<?php // This file was deleted by {@see https://github.com/BrianHenryIE/strauss}.'
===
$this->filesystem->read($sourceRelativePath)
Expand Down

0 comments on commit 8d7f4da

Please sign in to comment.