Skip to content

Commit 8dc164e

Browse files
author
Bohdan Korablov
committed
MAGETWO-69584: Command config:sensitive:set does not work on the cloud
1 parent dc1f009 commit 8dc164e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/code/Magento/Config/Console/Command/ConfigSetCommand.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,13 @@ protected function execute(InputInterface $input, OutputInterface $output)
127127

128128
try {
129129
$message = $this->emulatedAreaProcessor->process(function () use ($input) {
130-
$message = $this->processorFacadeFactory->create()->process(
130+
return $this->processorFacadeFactory->create()->process(
131131
$input->getArgument(static::ARG_PATH),
132132
$input->getArgument(static::ARG_VALUE),
133133
$input->getOption(static::OPTION_SCOPE),
134134
$input->getOption(static::OPTION_SCOPE_CODE),
135135
$input->getOption(static::OPTION_LOCK)
136136
);
137-
138-
return $message;
139137
});
140138

141139
$output->writeln('<info>' . $message . '</info>');

0 commit comments

Comments
 (0)