From e5f99e2798f1e2a3f18e867e8ccf911e6a91eef0 Mon Sep 17 00:00:00 2001 From: Anatol Broder Date: Tue, 17 Sep 2013 20:35:18 +0200 Subject: [PATCH] Remove return --- lib/jekyll/tags/include.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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