Skip to content

Commit

Permalink
Ensure releases are always a list
Browse files Browse the repository at this point in the history
  • Loading branch information
n8felton committed Jan 26, 2024
1 parent e495227 commit 12410b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SharedProcessors/GitLabReleasesInfoProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def get_releases(self, latest=False):
if latest:
releases_endpoint += "/permalink/latest"
releases = self.gitlab_api_get(releases_endpoint)
releases = json.loads(releases)
releases = [json.loads(releases)]
self.output(pformat(releases), 3)
return releases

Expand Down

0 comments on commit 12410b9

Please sign in to comment.