Skip to content

Commit

Permalink
[config:export:view] Fix overwritten info.yaml (#4026)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjuarez20 authored and enzolutions committed May 9, 2019
1 parent 9bbc171 commit 241d793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/Shared/ExportTrait.php
Expand Up @@ -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;
Expand Down

0 comments on commit 241d793

Please sign in to comment.