Skip to content

Commit 37aeb5d

Browse files
gilbertomangonesenzolutions
authored andcommitted
Fix path directory and to create config files (#4154)
1 parent 7f023ab commit 37aeb5d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Command/Config/ExportCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ protected function interact(InputInterface $input, OutputInterface $output)
9494
*/
9595
protected function execute(InputInterface $input, OutputInterface $output)
9696
{
97-
$directory = $input->getOption('directory');
97+
$drupal_root = $this->drupalFinder->getComposerRoot();
98+
$directory = $drupal_root.'/'.$input->getOption('directory');
9899
$tar = $input->getOption('tar');
99100
$removeUuid = $input->getOption('remove-uuid');
100101
$removeHash = $input->getOption('remove-config-hash');

0 commit comments

Comments
 (0)