File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232final class ComposerEventHandler implements PluginInterface, EventSubscriberInterface
3333{
3434 private const MERGE_PLAN_FILENAME = 'merge_plan.php ' ;
35- private const DEFAULT_OUTPUT_PATH = '/config/packages ' ;
36- private const DEFAULT_CONFIG_SOURCE_PATH = '/config ' ;
37-
35+ private const DEFAULT_OUTPUT_PATH = 'config/packages ' ;
3836 private const DIST_DIRECTORY = 'dist ' ;
3937
4038 private ?Composer $ composer = null ;
@@ -217,7 +215,7 @@ private function getPluginConfig(PackageInterface $package): array
217215 */
218216 private function getPluginOutputDirectory (PackageInterface $ package ): string
219217 {
220- return $ this ->getRootPath () . (string )($ package ->getExtra ()[ ' config-plugin ' ] ['config-plugin-output-dir ' ] ?? self ::DEFAULT_OUTPUT_PATH );
218+ return $ this ->getRootPath () . ' / ' . (string )($ package ->getExtra ()['config-plugin-output-dir ' ] ?? self ::DEFAULT_OUTPUT_PATH );
221219 }
222220
223221 private function ensureDirectoryExists (string $ directoryPath ): void
You can’t perform that action at this time.
0 commit comments