Skip to content
Permalink
Browse files

[config:export:view] Fix overwritten info.yaml (#4026)

  • Loading branch information...
harold20 authored and enzolutions committed May 9, 2019
1 parent 9bbc171 commit 241d7932a4dab6ed3dea9b716feff02815764bd5
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Command/Shared/ExportTrait.php
@@ -146,7 +146,7 @@ protected function resolveDependencies($dependencies, $optional = false, $uuid =
protected function exportModuleDependencies($module, $dependencies)
{
$module = $this->extensionManager->getModule($module);
$info_yaml = $module->info;
$info_yaml = Yaml::decode(file_get_contents($module->getPathname(), true));
if (empty($info_yaml['dependencies'])) {
$info_yaml['dependencies'] = $dependencies;

0 comments on commit 241d793

Please sign in to comment.
You can’t perform that action at this time.