Permalink
Browse files

Fix wrong #exist? call

  • Loading branch information...
ddfreyne committed Sep 6, 2014
1 parent a442c7a commit d7a9b7e87eb455c00881fae5a2393c9ec5e8fbb9
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/nanoc/extra/checking/check.rb
@@ -32,7 +32,7 @@ def add_issue(desc, params = {})
def output_filenames
output_dir = @site.config[:output_dir]
unless File.exist(output_dir)
unless File.exist?(output_dir)
raise Nanoc::Extra::Checking::OutputDirNotFoundError.new(output_dir)
end
Dir[output_dir + '/**/*'].select { |f| File.file?(f) }

0 comments on commit d7a9b7e

Please sign in to comment.