diff --git a/lib/jekyll/tags/include.rb b/lib/jekyll/tags/include.rb index 636b2436..8347aa2d 100644 --- a/lib/jekyll/tags/include.rb +++ b/lib/jekyll/tags/include.rb @@ -93,15 +93,15 @@ eos def validate_dir(dir, safe) if File.symlink?(dir) && safe - return "Includes directory '#{dir}' cannot be a symlink" + "Includes directory '#{dir}' cannot be a symlink" end end def validate_file(file, safe) if !File.exists?(file) - return "Included file '#{@file}' not found in '#{INCLUDES_DIR}' directory" + "Included file '#{@file}' not found in '#{INCLUDES_DIR}' directory" elsif File.symlink?(file) && safe - return "The included file '#{INCLUDES_DIR}/#{@file}' should not be a symlink" + "The included file '#{INCLUDES_DIR}/#{@file}' should not be a symlink" end end