0
I’m using a script bash
to define the variable COMPOSER_PROCESS_TIMEOUT
, but before I change the value of it I need to know what is the value that is defined.
I took a good look on the internet and found nothing similar, not even in the documentation of Composer.
Setting a new value for COMPOSER_PROCESS_TIMEOUT
setComposerProcessTimeout(){
echo "Defining the COMPOSER_PROCESS_TIMEOUT = 2000"
composer --global config process-timeout 2000
}
How to catch the COMPOSER_PROCESS_TIMEOUT
and use it as in the script below:
COMPOSER_TIMEOUT_VALUE = #(Não sei como pegar o valor).
if !${COMPOSER_TIMEOUT_VALUE} == 300 ; then
echo ${COMPOSER_TIMEOUT_VALUE}
fi