Disable composer process-timeout

This commit is contained in:
Shivam Mathur
2020-01-14 12:06:52 +05:30
parent a2dd688679
commit c4317135df
3 changed files with 5 additions and 0 deletions

View File

@ -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:?}"