mirror of
https://github.com/silverstripe/recipe-plugin.git
synced 2024-10-22 14:05:55 +02:00
BUG Fix non-recipe modules being installed incorrectly
API Restore restriction on silverstripe-recipe type
This commit is contained in:
parent
5f82035219
commit
c211463283
@ -19,10 +19,11 @@ class RecipeInstaller extends LibraryInstaller {
|
|||||||
public function __construct(
|
public function __construct(
|
||||||
IOInterface $io,
|
IOInterface $io,
|
||||||
Composer $composer,
|
Composer $composer,
|
||||||
|
$type = 'silverstripe-recipe',
|
||||||
Filesystem $filesystem = null,
|
Filesystem $filesystem = null,
|
||||||
BinaryInstaller $binaryInstaller = 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)
|
public function install(InstalledRepositoryInterface $repo, PackageInterface $package)
|
||||||
|
Loading…
Reference in New Issue
Block a user