Skip to content

Commit

Permalink
Merge pull request #145 from nextcloud/backport/132/stable20
Browse files Browse the repository at this point in the history
[stable20] fix(symfony): as reported in #128
  • Loading branch information
ArtificialOwl authored May 15, 2021
2 parents 1d60a55 + f08c533 commit ff735bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Command/Configure.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ protected function configure() {
* @param OutputInterface $output
*
* @throws Exception
* @return Integer
*/
protected function execute(InputInterface $input, OutputInterface $output) {
$json = $input->getArgument('json');
Expand All @@ -88,7 +89,7 @@ protected function execute(InputInterface $input, OutputInterface $output) {
if ($config === null) {
$output->writeln('Invalid JSON');

return;
return 1;
}

$ak = array_keys($config);
Expand All @@ -99,6 +100,7 @@ protected function execute(InputInterface $input, OutputInterface $output) {
}

$output->writeln(json_encode($this->configService->getConfig(), JSON_PRETTY_PRINT));
return 0;
}


Expand Down

0 comments on commit ff735bb

Please sign in to comment.