Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
smisidjan committed Nov 16, 2023
1 parent d7fdd07 commit a648088
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,10 @@ public function getOrganizationCatalogi(ObjectEntity $organization): ObjectEntit
$repositoriesArray = $this->githubApiService->getOrganizationRepos($githubPath, $source);
}

if ($repositoriesArray === null) {
if (isset($repositoriesArray) === false
|| isset($repositoriesArray) === true
&& $repositoriesArray === null
) {
return $organization;
}

Expand Down

0 comments on commit a648088

Please sign in to comment.