Skip to content

Commit 245d4ef

Browse files
jissereitsmanmalevanec
authored andcommitted
Add RETURN_SUCCESS return
1 parent 3c74589 commit 245d4ef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup/src/Magento/Setup/Console/Command/ModuleStatusCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ private function showSpecificModule(string $moduleName, OutputInterface $output)
100100
}
101101

102102
$output->writeln('<info>Module is disabled</info>');
103+
return \Magento\Framework\Console\Cli::RETURN_SUCCESS;
103104
}
104105

105106
/**
@@ -115,6 +116,7 @@ private function showEnabledModules(OutputInterface $output)
115116
}
116117

117118
$output->writeln(join("\n", $enabledModuleNames));
119+
return \Magento\Framework\Console\Cli::RETURN_SUCCESS;
118120
}
119121

120122
/**
@@ -129,6 +131,7 @@ private function showDisabledModules(OutputInterface $output)
129131
}
130132

131133
$output->writeln(join("\n", $disabledModuleNames));
134+
return \Magento\Framework\Console\Cli::RETURN_SUCCESS;
132135
}
133136

134137
/**

0 commit comments

Comments
 (0)