diff --git a/lib/jekyll/site.rb b/lib/jekyll/site.rb index ebf78b15..2af8e09e 100644 --- a/lib/jekyll/site.rb +++ b/lib/jekyll/site.rb @@ -122,10 +122,8 @@ module Jekyll dest_pathname = Pathname.new(dest) Pathname.new(source).ascend do |path| if path == dest_pathname - raise( - Errors::FatalException, + raise Errors::FatalException, "Destination directory cannot be or contain the Source directory." - ) end end end