From a2e48ebba3f4561f132161d083f6d9f9dcc1ec55 Mon Sep 17 00:00:00 2001 From: ashmaroli Date: Wed, 8 Nov 2017 22:17:14 +0530 Subject: [PATCH] remove parentheses around arguments to raise (#6532) Merge pull request 6532 --- lib/jekyll/site.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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