Skip to content

Commit 03fc6f3

Browse files
fixing github app list scrpit
1 parent 2938569 commit 03fc6f3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

list_all_github_app_in_org.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ def list_github_apps_in_organization(organization: str):
3232
if response_json.get('installationss') is not None:
3333
list_of_installations = response_json["installations"]
3434
print(f'Found {len(list_of_installations)} GitHub App in {organization} organization')
35-
else:
36-
exit()
35+
3736
# Convert list of dictionaries to JSON string
3837
json_data = json.dumps(list_of_installations, indent=4)
3938

0 commit comments

Comments
 (0)