mirror of
https://github.com/jekyll/jekyll.git
synced 2026-02-04 03:35:25 -05:00
remove parentheses around arguments to raise (#6532)
Merge pull request 6532
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user