Skip to content
Snippets Groups Projects
Commit e22cfa66 authored by jurgenhaas's avatar jurgenhaas
Browse files

Bug fix

parent 7a6968a4
No related branches found
No related tags found
No related merge requests found
......@@ -54,8 +54,8 @@
}
},
"ahoy": {
"ahoy": {
"usage": "Ahoy",
"me": {
"usage": "Ahoy plugin commands",
"imports": ["ahoy.yml"]
}
}
......
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment