mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 08:44:07 -04:00
fix(occ): Fix linting issues
Signed-off-by: Seungmin Kim <8457324+ehfd@users.noreply.github.com>
This commit is contained in:
parent
041eca9b27
commit
5a457b8da5
1 changed files with 4 additions and 1 deletions
|
|
@ -47,7 +47,10 @@ class CheckApp extends Base {
|
|||
*/
|
||||
protected function execute(InputInterface $input, OutputInterface $output): int {
|
||||
$appid = $input->getArgument('appid');
|
||||
$path = (string)$input->getOption('path') ?? $this->appLocator->getAppPath($appid);
|
||||
$path = (string)$input->getOption('path');
|
||||
if ($path === '') {
|
||||
$path = $this->appLocator->getAppPath($appid);
|
||||
}
|
||||
if ($this->fileAccessHelper->file_exists($path . '/appinfo/signature.json')) {
|
||||
// Only verify if the application explicitly ships a signature.json file
|
||||
$result = $this->checker->verifyAppSignature($appid, $path, true);
|
||||
|
|
|
|||
Loading…
Reference in a new issue