From 10ee83d680c9ab049f306df8ff5c29f8223f939e Mon Sep 17 00:00:00 2001 From: Jens Nazarenus Date: Thu, 19 Dec 2013 18:23:21 +0100 Subject: [PATCH] edited raise message when validating included file --- lib/jekyll/tags/include.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jekyll/tags/include.rb b/lib/jekyll/tags/include.rb index c1a4268e..5c679dc1 100644 --- a/lib/jekyll/tags/include.rb +++ b/lib/jekyll/tags/include.rb @@ -124,9 +124,9 @@ eos def validate_file(file, safe) if !File.exists?(file) - raise IOError.new "Included file '#{file}' not found in '#{INCLUDES_DIR}' directory" + raise IOError.new "Included file '#{file}' not found" elsif File.symlink?(file) && safe - raise IOError.new "The included file '#{INCLUDES_DIR}/#{file}' should not be a symlink" + raise IOError.new "The included file '#{file}' should not be a symlink" end end