Simplify code
parent
a294af3f16
commit
0c4cae056f
|
@ -60,7 +60,7 @@ class PathDownloader extends FileDownloader implements VcsCapableDownloaderInter
|
|||
$allowedStrategies = array(self::STRATEGY_SYMLINK, self::STRATEGY_MIRROR);
|
||||
|
||||
$mirrorPathRepos = getenv('COMPOSER_MIRROR_PATH_REPOS');
|
||||
if (true === (bool)$mirrorPathRepos) {
|
||||
if ($mirrorPathRepos) {
|
||||
$currentStrategy = self::STRATEGY_MIRROR;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue