remove parentheses around arguments to raise (#6532)
Merge pull request 6532
This commit is contained in:
parent
4b675aa1ea
commit
a2e48ebba3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue