Skip to content

Commit

Permalink
Try cleaning plugin packages
Browse files Browse the repository at this point in the history
  • Loading branch information
back-2-95 committed Jul 28, 2023
1 parent c2bc662 commit 1ec1c20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use Composer\Installer\PackageEvents;
use Composer\IO\IOInterface;
use Composer\Package\Package;
use Composer\Plugin\PluginEvents;
use Composer\Plugin\PluginInterface;
use Composer\InstalledVersions;
use Composer\Installer\PackageEvent;
Expand All @@ -30,6 +31,7 @@ public static function getSubscribedEvents(): array
return [
PackageEvents::POST_PACKAGE_INSTALL => ['cleanUp', 9],
PackageEvents::POST_PACKAGE_UPDATE => ['cleanUp', 9],
PluginEvents::POST_FILE_DOWNLOAD => ['cleanUp', 9],
ScriptEvents::POST_UPDATE_CMD => ['end', -20],
ScriptEvents::POST_INSTALL_CMD => ['end', -20],
];
Expand Down

0 comments on commit 1ec1c20

Please sign in to comment.