mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Disable composer process-timeout
This commit is contained in:
parent
a2dd688679
commit
c4317135df
@ -53,6 +53,7 @@ add_tool() {
|
||||
tool=$2
|
||||
if [ "$tool" = "composer" ]; then
|
||||
brew install composer >/dev/null 2>&1
|
||||
composer -q global config process-timeout 0
|
||||
else
|
||||
if [ ! -e /usr/local/bin/"$tool" ]; then
|
||||
rm -rf /usr/local/bin/"${tool:?}"
|
||||
|
@ -80,6 +80,9 @@ add_tool() {
|
||||
else
|
||||
add_log "$cross" "$tool" "Could not setup $tool"
|
||||
fi
|
||||
if [ "$tool" = "composer" ]; then
|
||||
composer -q global config process-timeout 0
|
||||
fi
|
||||
}
|
||||
|
||||
add_composer_tool() {
|
||||
|
@ -91,6 +91,7 @@ Function Add-Tool() {
|
||||
)
|
||||
if($tool -eq "composer") {
|
||||
Install-Composer -Scope System -Path $php_dir -PhpPath $php_dir
|
||||
composer -q global config process-timeout 0
|
||||
Add-Log $tick $tool "Added"
|
||||
} else {
|
||||
if (Test-Path $php_dir\$tool) {
|
||||
|
Loading…
Reference in New Issue
Block a user