From 959451ae081dd008a99952ee2e0f3770d040359b Mon Sep 17 00:00:00 2001 From: clementzarch Date: Tue, 5 Sep 2023 15:18:57 +0200 Subject: [PATCH] delete previous "action[...].php" files before building --- src/Adapter/Filesystem/SatelliteBuilder.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Adapter/Filesystem/SatelliteBuilder.php b/src/Adapter/Filesystem/SatelliteBuilder.php index 5c2483e1..657e886e 100644 --- a/src/Adapter/Filesystem/SatelliteBuilder.php +++ b/src/Adapter/Filesystem/SatelliteBuilder.php @@ -172,6 +172,7 @@ private function clearPreviousFiles(): void $iterator = new \AppendIterator(); $iterator->append(new \GlobIterator($this->workdir.'/pipeline*.php', \FilesystemIterator::CURRENT_AS_FILEINFO | \FilesystemIterator::SKIP_DOTS)); + $iterator->append(new \GlobIterator($this->workdir.'/action*.php', \FilesystemIterator::CURRENT_AS_FILEINFO | \FilesystemIterator::SKIP_DOTS)); $iterator->append(new \GlobIterator($this->workdir.'/ProjectServiceContainer*.php', \FilesystemIterator::CURRENT_AS_FILEINFO | \FilesystemIterator::SKIP_DOTS)); foreach ($iterator as $file) {