Skip to content

Commit

Permalink
Merge 044f0ff into bf03823
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Drop committed Oct 22, 2014
2 parents bf03823 + 044f0ff commit ef1e544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nanoc/extra/filesystem_tools.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def initialize(filename)
# @raise [UnsupportedFileTypeError] if a file of an unsupported type is
# detected (something other than file, directory or link)
def all_files_in(dir_name, recursion_limit = 10)
Dir[dir_name + '/**/*'].map do |fn|
Dir.glob(dir_name + '/**/*', File::FNM_DOTMATCH).map do |fn|
case File.ftype(fn)
when 'link'
if 0 == recursion_limit
Expand Down

0 comments on commit ef1e544

Please sign in to comment.