Skip to content

Commit

Permalink
Small change on output messages
Browse files Browse the repository at this point in the history
  • Loading branch information
jalogut committed Nov 25, 2017
1 parent 8805bc0 commit e47ec9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ protected function execute(InputInterface $input, OutputInterface $output)
{
if ($this->changeDetector->hasChanges()) {
$output->writeln(
'<info>The configuration file has changed. ' .
'<info>Config files have changed. ' .
'Run app:config:import or setup:upgrade command to synchronize configuration.</info>'
);
return self::EXIT_CODE_CONFIG_IMPORT_REQUIRED;
}
$output->writeln('<info>Configuration files are up to date.</info>');
$output->writeln('<info>Config files are up to date.</info>');
return Cli::RETURN_SUCCESS;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,12 @@ public function executeDataProvider()
return [
'Config is up to date' => [
false,
'Configuration files are up to date.' . PHP_EOL,
'Config files are up to date.' . PHP_EOL,
Cli::RETURN_SUCCESS
],
'Config needs update' => [
true,
'The configuration file has changed. ' .
'Config files have changed. ' .
'Run app:config:import or setup:upgrade command to synchronize configuration.' . PHP_EOL,
ConfigStatusCommand::EXIT_CODE_CONFIG_IMPORT_REQUIRED,
],
Expand Down

0 comments on commit e47ec9b

Please sign in to comment.