From 4546cab6dfb583b64801ac59f764f3fe79d151fc Mon Sep 17 00:00:00 2001 From: Steven Rombauts Date: Tue, 26 Apr 2016 09:49:36 +0100 Subject: [PATCH] Add the --all flag to composer show Without this flag Composer 1.0 will break if it can't find a composer.json manifest in the current working directory. --- src/Joomlatools/Console/Command/Plugin/Install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Joomlatools/Console/Command/Plugin/Install.php b/src/Joomlatools/Console/Command/Plugin/Install.php index 02c6f7bd..5ea24a0b 100644 --- a/src/Joomlatools/Console/Command/Plugin/Install.php +++ b/src/Joomlatools/Console/Command/Plugin/Install.php @@ -63,7 +63,7 @@ protected function execute(InputInterface $input, OutputInterface $output) } else list($name, $version) = explode(':', $package); - exec("composer show $name $version 2>&1", $result, $code); + exec("composer show --all $name $version 2>&1", $result, $code); if ($code === 1) { @@ -97,4 +97,4 @@ protected function execute(InputInterface $input, OutputInterface $output) passthru("composer --no-progress --working-dir=$plugin_path require $package"); } -} \ No newline at end of file +}