Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
Signed-off-by: Seungmin Kim <[email protected]>
  • Loading branch information
ehfd committed Dec 1, 2024
1 parent 2a1ae91 commit 5e856b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/Command/Integrity/CheckApp.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ protected function configure() {
*/
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);
Expand Down

0 comments on commit 5e856b6

Please sign in to comment.