Use default packagist mirror for old PHP

This commit is contained in:
Shivam Mathur 2020-07-23 03:03:44 +05:30
parent 37d7b37f43
commit 274e348895
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -139,10 +139,6 @@ Function Edit-ComposerConfig() {
if (Test-Path 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() {