From e22cfa6605f7b8cede75c3d49ab5392969d8ba5e Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen@paragon-es.de> Date: Tue, 30 Oct 2018 18:53:39 +0100 Subject: [PATCH] Bug fix --- composer.json | 4 ++-- src/Handler.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 1ba9cb9..beed1b3 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 f86e0af..df4d726 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; } -- GitLab