Skip to content

Commit

Permalink
Fallback to ref when getting documentation (#3363)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus authored Nov 21, 2023
1 parent 9b8a1e1 commit ea71a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/hacs/repositories/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -1327,7 +1327,7 @@ async def get_documentation(
version = (
(self.data.installed_version or self.data.installed_commit)
if self.data.installed
else (self.data.last_version or self.data.last_commit)
else (self.data.last_version or self.data.last_commit or self.ref)
)
self.logger.debug(
"%s Getting documentation for version=%s,filename=%s",
Expand Down

0 comments on commit ea71a1d

Please sign in to comment.