Permalink
Browse files

Incorporate review feedback

  • Loading branch information...
jugglinmike committed Sep 5, 2014
1 parent 78be403 commit 10b448183c41599744d423c1db7cf13c077782cd
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.exists? output_dir
unless File.exist(output_dir)

This comment has been minimized.

Show comment
Hide comment
@ddfreyne

ddfreyne Sep 6, 2014

I ignored the failing tests and didn’t spot this typo: it should have been exist? rather than exist. My bad for not spotting this!

Fixed in d7a9b7e.

@ddfreyne

ddfreyne Sep 6, 2014

I ignored the failing tests and didn’t spot this typo: it should have been exist? rather than exist. My bad for not spotting this!

Fixed in d7a9b7e.

raise Nanoc::Extra::Checking::OutputDirNotFoundError.new(output_dir)
end
Dir[output_dir + '/**/*'].select { |f| File.file?(f) }

0 comments on commit 10b4481

Please sign in to comment.