Skip to content

Commit

Permalink
Support Ruby 3.2+, fixes #879
Browse files Browse the repository at this point in the history
  • Loading branch information
fulldecent committed Apr 23, 2023
1 parent 07c8509 commit e3ebca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/github-pages
Expand Up @@ -43,7 +43,7 @@ Mercenary.program(:"github-pages") do |p|
c.action do |args, options|
require 'github-pages-health-check'
cname_path = File.expand_path "CNAME", Dir.pwd
raise "No CNAME file found in current directory" unless File.exists?(cname_path)
raise "No CNAME file found in current directory" unless File.exist?(cname_path)
cname = File.open(cname_path).read.strip
check = GitHubPages::HealthCheck.check(cname)
puts "Checking domain #{cname}..."
Expand Down

0 comments on commit e3ebca2

Please sign in to comment.