mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-26 13:23:05 +07:00
Fix UUOC shellcheck warning
This commit is contained in:
parent
7854a0cae7
commit
18f3abac75
@ -155,7 +155,7 @@ add_composertool() {
|
|||||||
release=$2
|
release=$2
|
||||||
prefix=$3
|
prefix=$3
|
||||||
scope=$4
|
scope=$4
|
||||||
composer_major_version=$(cat /tmp/composer_version | cut -d'.' -f 1)
|
composer_major_version=$(cut -d'.' -f 1 /tmp/composer_version)
|
||||||
if [ "$composer_major_version" != "1" ]; then
|
if [ "$composer_major_version" != "1" ]; then
|
||||||
composer_args="--ignore-platform-req=ext-*"
|
composer_args="--ignore-platform-req=ext-*"
|
||||||
if [[ "$tool" =~ prestissimo|composer-prefetcher ]]; then
|
if [[ "$tool" =~ prestissimo|composer-prefetcher ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user