Skip to content

Commit 2ef81a8

Browse files
committed
Add deployed file when file to file copy
1 parent 5a6f7ee commit 2ef81a8

File tree

1 file changed

+3
-1
lines changed
  • src/MagentoHackathon/Composer/Magento/Deploystrategy

1 file changed

+3
-1
lines changed

src/MagentoHackathon/Composer/Magento/Deploystrategy/Copy.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ public function createDelegate($source, $dest)
8484
if (is_dir($destPath)) {
8585
$destPath .= '/' . basename($sourcePath);
8686
}
87-
return copy($sourcePath, $destPath);
87+
copy($sourcePath, $destPath);
88+
$this->addDeployedFile($destPath);
89+
return;
8890
}
8991

9092
// Copy dir to dir

0 commit comments

Comments
 (0)