mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Use default packagist mirror for old PHP
This commit is contained in:
parent
37d7b37f43
commit
274e348895
@ -139,10 +139,6 @@ Function Edit-ComposerConfig() {
|
|||||||
if (Test-Path env:COMPOSER_TOKEN) {
|
if (Test-Path env:COMPOSER_TOKEN) {
|
||||||
composer -q global config github-oauth.github.com $env:COMPOSER_TOKEN
|
composer -q global config github-oauth.github.com $env:COMPOSER_TOKEN
|
||||||
}
|
}
|
||||||
# TODO: Remove after composer 2.0 update, fixes peer fingerprint error
|
|
||||||
if ($version -lt 5.6) {
|
|
||||||
composer -q global config repos.packagist composer https://repo-ca-bhs-1.packagist.org
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Function Add-Tool() {
|
Function Add-Tool() {
|
||||||
|
Loading…
Reference in New Issue
Block a user