lib/nanoc/base/repos/config_loader.rb in nanoc-4.7.5 vs lib/nanoc/base/repos/config_loader.rb in nanoc-4.7.6
- old
+ new
@@ -24,10 +24,10 @@
!config_filename_for_cwd.nil?
end
# @return [String]
def self.config_filename_for_cwd
- filenames = %w(nanoc.yaml config.yaml)
+ filenames = %w[nanoc.yaml config.yaml]
candidate = filenames.find { |f| File.file?(f) }
candidate && File.expand_path(candidate)
end
def new_from_cwd