Follow symlinks when searching for artifacts
parent
4f80e7ff68
commit
5146085dc2
|
@ -48,7 +48,7 @@ class ArtifactRepository extends ArrayRepository
|
|||
{
|
||||
$io = $this->io;
|
||||
|
||||
$directory = new \RecursiveDirectoryIterator($path);
|
||||
$directory = new \RecursiveDirectoryIterator($path, \RecursiveDirectoryIterator::FOLLOW_SYMLINKS);
|
||||
$iterator = new \RecursiveIteratorIterator($directory);
|
||||
$regex = new \RegexIterator($iterator, '/^.+\.(zip|phar)$/i');
|
||||
foreach ($regex as $file) {
|
||||
|
|
Loading…
Reference in New Issue