From c123b10f732441fecd8f480a860e5b759fa44042 Mon Sep 17 00:00:00 2001 From: Pat Hawks Date: Sat, 11 Feb 2017 13:04:09 -0600 Subject: [PATCH] Update formatting to match `healty?` --- lib/jekyll/commands/doctor.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/jekyll/commands/doctor.rb b/lib/jekyll/commands/doctor.rb index 7f51b47bcb5..4f3e882d311 100644 --- a/lib/jekyll/commands/doctor.rb +++ b/lib/jekyll/commands/doctor.rb @@ -96,9 +96,11 @@ def urls_only_differ_by_case(site) def proper_site_url?(site) url = site.config["url"] - url_exists?(url) && - url_valid?(url) && - url_absolute(url) + [ + url_exists?(url), + url_valid?(url), + url_absolute(url), + ].all? end private