lib/dokku_installer/ssl.rb in dokku-installer-cli-0.1.3 vs lib/dokku_installer/ssl.rb in dokku-installer-cli-0.1.4
- old
+ new
@@ -38,11 +38,10 @@
command = "echo \"#{combined_certificate}\" | ssh dokku@#{domain} ssl:certificate #{app_name}"
exec(command)
end
desc "ssl:force DOMAIN", "Force SSL on the given domain."
- def ssl_force(*args)
- domain = args.first
+ def ssl_force(domain = nil)
if domain.nil?
puts "Specify a domain to force SSL."
exit
end