Skip to content

Commit

Permalink
GH picks the first asset correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcspadden committed Sep 25, 2023
1 parent 24c3515 commit e7bdfe1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Code/autopkglib/GitHubReleasesInfoProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ def select_asset(
break
except re.error as e:
raise ProcessorError(f"Invalid regex: {e}") from e
if selected:
break
if not selected:
return

Expand Down

0 comments on commit e7bdfe1

Please sign in to comment.