mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Merge branch '1.4'
This commit is contained in:
commit
39d187fb1e
4 changed files with 16 additions and 7 deletions
|
@ -497,7 +497,10 @@ class ComposerRepository extends ArrayRepository implements ConfigurableReposito
|
|||
$this->sourceMirrors['hg'][] = array('url' => $mirror['hg-url'], 'preferred' => !empty($mirror['preferred']));
|
||||
}
|
||||
if (!empty($mirror['dist-url'])) {
|
||||
$this->distMirrors[] = array('url' => $mirror['dist-url'], 'preferred' => !empty($mirror['preferred']));
|
||||
$this->distMirrors[] = array(
|
||||
'url' => $this->canonicalizeUrl($mirror['dist-url']),
|
||||
'preferred' => !empty($mirror['preferred'])
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue