diff --git a/composer.json b/composer.json index 1ba9cb94c84ab4c753b455e03a2f66998500b95a..beed1b38c1793a6919b9f7539721ded71f7d7cb6 100644 --- a/composer.json +++ b/composer.json @@ -54,8 +54,8 @@ } }, "ahoy": { - "ahoy": { - "usage": "Ahoy", + "me": { + "usage": "Ahoy plugin commands", "imports": ["ahoy.yml"] } } diff --git a/src/Handler.php b/src/Handler.php index f86e0af13c019d9d3a0900d8c656f4d9a9aba59e..df4d726769a640adebc3e20316a9ead176f65ab8 100644 --- a/src/Handler.php +++ b/src/Handler.php @@ -77,7 +77,7 @@ class Handler { $pluginRoot = $installationManager->getInstallPath($this->getPackage($pkg['name'])); $pluginSettings = new Utils($this->composer, $pluginRoot); foreach ($pluginSettings->getSubSubSection('extra', 'lakedrops', 'ahoy') as $command => $commands) { - $ahoy['commands'][$command] = []; + $ahoy['commands'][$command] = $commands; foreach ($commands['imports'] as $key => $import) { $ahoy['commands'][$command]['imports'][$key] = './vendor/' . $pkg['name'] . '/' . $import; }