use bin/php when composer is found

This commit is contained in:
Kamil Piwowarski 2017-01-27 21:42:18 +01:00 committed by GitHub
parent 2624c825f4
commit f025a2271d

View File

@ -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)) {