mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 01:02:24 +01:00
use bin/php when composer is found
This commit is contained in:
parent
2624c825f4
commit
f025a2271d
@ -91,7 +91,7 @@ set('bin/git', function () {
|
||||
|
||||
set('bin/composer', function () {
|
||||
if (commandExist('composer')) {
|
||||
$composer = run('which composer')->toString();
|
||||
$composer = '{{bin/php}} ' . run('which composer')->toString();
|
||||
}
|
||||
|
||||
if (empty($composer)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user