composer update

This commit is contained in:
zyimm 2023-07-09 16:02:48 +08:00
parent 51e66a5f99
commit a876b5cd8c

View File

@ -11,6 +11,7 @@ class Vendor extends LibraryInstaller
{
public function install(InstalledRepositoryInterface $repo, PackageInterface $package): PromiseInterface
{
var_dump(__METHOD__.':', $repo, $package);
return parent::install($repo, $package)
->then(function () use ($package) {
$this->config($package);
@ -21,6 +22,7 @@ class Vendor extends LibraryInstaller
public function update(InstalledRepositoryInterface $repo, PackageInterface $initial, PackageInterface $target): PromiseInterface
{
var_dump(__METHOD__.':', $repo, $initial, $target);
return parent::update($repo, $initial, $target)
->then(function () use ($target) {
$this->config($target);