From c21146328375d743e4f431d09f39e5fce4b1049e Mon Sep 17 00:00:00 2001 From: Damian Mooyman Date: Wed, 14 Sep 2016 16:06:44 +1200 Subject: [PATCH] BUG Fix non-recipe modules being installed incorrectly API Restore restriction on silverstripe-recipe type --- src/RecipeInstaller.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/RecipeInstaller.php b/src/RecipeInstaller.php index df909e1..161c808 100644 --- a/src/RecipeInstaller.php +++ b/src/RecipeInstaller.php @@ -19,10 +19,11 @@ class RecipeInstaller extends LibraryInstaller { public function __construct( IOInterface $io, Composer $composer, + $type = 'silverstripe-recipe', Filesystem $filesystem = null, BinaryInstaller $binaryInstaller = null ) { - parent::__construct($io, $composer, null, $filesystem, $binaryInstaller); + parent::__construct($io, $composer, $type, $filesystem, $binaryInstaller); } public function install(InstalledRepositoryInterface $repo, PackageInterface $package)