Skip to content

Commit

Permalink
Linter + version prep
Browse files Browse the repository at this point in the history
  • Loading branch information
yoannchaudet committed Sep 17, 2024
1 parent 07ec091 commit c5f3d94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/github-pages-health-check/domain.rb
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ def cname_to_github_user_domain?
# e.g. CNAME -> Domain -> Pages
def cname_to_domain_to_pages?
return false unless dns?

a_record_to_pages = dns.select { |d| d.type == Dnsruby::Types::A && d.name.to_s == host }.first

return false unless a_record_to_pages && cname? && !cname_to_pages_dot_github_dot_com? && @www_cname
Expand Down
2 changes: 1 addition & 1 deletion lib/github-pages-health-check/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module GitHubPages
module HealthCheck
VERSION = "1.18.4"
VERSION = "1.18.5"
end
end

0 comments on commit c5f3d94

Please sign in to comment.