remove parentheses around arguments to raise (#6532)

Merge pull request 6532
This commit is contained in:
ashmaroli 2017-11-08 22:17:14 +05:30 committed by jekyllbot
parent 4b675aa1ea
commit a2e48ebba3
1 changed files with 1 additions and 3 deletions

View File

@ -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