Skip to content

Commit 247b399

Browse files
authored
Merge pull request #124 from php-etl/fix/delete-old-action-files
delete previous "action[...].php" files before building
2 parents 8edfc6a + c5c25e9 commit 247b399

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Adapter/Filesystem/SatelliteBuilder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ private function clearPreviousFiles(): void
170170
$iterator = new \AppendIterator();
171171

172172
$iterator->append(new \GlobIterator($this->workdir.'/pipeline*.php', \FilesystemIterator::CURRENT_AS_FILEINFO | \FilesystemIterator::SKIP_DOTS));
173+
$iterator->append(new \GlobIterator($this->workdir.'/action*.php', \FilesystemIterator::CURRENT_AS_FILEINFO | \FilesystemIterator::SKIP_DOTS));
173174
$iterator->append(new \GlobIterator($this->workdir.'/ProjectServiceContainer*.php', \FilesystemIterator::CURRENT_AS_FILEINFO | \FilesystemIterator::SKIP_DOTS));
174175

175176
foreach ($iterator as $file) {

0 commit comments

Comments
 (0)