lib/nanoc/extra/auto_compiler.rb in nanoc-3.7.3 vs lib/nanoc/extra/auto_compiler.rb in nanoc-3.7.4
- old
+ new
@@ -49,11 +49,11 @@
# Get paths by appending index filenames
if path =~ /\/$/
possible_paths = site.config[:index_filenames].map { |f| path + f }
else
- possible_paths = [ path ]
+ possible_paths = [path]
end
# Find matching file
modified_path = possible_paths.find { |f| File.file?(site.config[:output_dir] + f) }
modified_path ||= path
@@ -77,10 +77,10 @@
# Re-raise error
raise e
end
- private
+ private
def build_site
@site = Nanoc::Site.new(@site_path)
end