Skip to content

Commit

Permalink
Merge pull request #8 from bluzphp/develop
Browse files Browse the repository at this point in the history
Switch to `post-create-project-cmd` event
  • Loading branch information
Anton authored Sep 22, 2017
2 parents bef1319 + 126666f commit 1e9c7fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Installers/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public static function getSubscribedEvents(): array
return [
// copy extra files from root composer.json
// do it only once after create project
ScriptEvents::POST_ROOT_PACKAGE_INSTALL => 'copyProjectExtraFiles',
ScriptEvents::POST_CREATE_PROJECT_CMD => 'copyProjectExtraFiles',
// copy module's files to working directory
PackageEvents::POST_PACKAGE_INSTALL => 'copyModuleFiles',
PackageEvents::POST_PACKAGE_UPDATE => 'copyModuleFiles',
Expand Down

0 comments on commit 1e9c7fa

Please sign in to comment.