mirror of
https://github.com/nextcloud/server.git
synced 2026-04-02 15:45:38 -04:00
Merge pull request #27880 from nextcloud/bugfix/noid/make-integrity-check-verbose
Make integrity commands verbose
This commit is contained in:
commit
b1099f5047
2 changed files with 4 additions and 0 deletions
|
|
@ -72,8 +72,10 @@ class CheckApp extends Base {
|
|||
$result = $this->checker->verifyAppSignature($appid, $path, true);
|
||||
$this->writeArrayInOutputFormat($input, $output, $result);
|
||||
if (count($result) > 0) {
|
||||
$output->writeln('<error>' . count($result) . ' errors found</error>', OutputInterface::VERBOSITY_VERBOSE);
|
||||
return 1;
|
||||
}
|
||||
$output->writeln('<info>No errors found</info>', OutputInterface::VERBOSITY_VERBOSE);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -68,8 +68,10 @@ class CheckCore extends Base {
|
|||
$result = $this->checker->verifyCoreSignature();
|
||||
$this->writeArrayInOutputFormat($input, $output, $result);
|
||||
if (count($result) > 0) {
|
||||
$output->writeln('<error>' . count($result) . ' errors found</error>', OutputInterface::VERBOSITY_VERBOSE);
|
||||
return 1;
|
||||
}
|
||||
$output->writeln('<info>No errors found</info>', OutputInterface::VERBOSITY_VERBOSE);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue