lib/itamae/resource/remote_file.rb in itamae-1.4.5 vs lib/itamae/resource/remote_file.rb in itamae-1.5.0
- old
+ new
@@ -25,10 +25,10 @@
searched_paths = []
dirs.size.times do |i|
source_file_exts.each do |ext|
path = ::File.join(@recipe.dir, source_file_dir, "#{dirs[i..-1].join("/")}#{ext}")
if ::File.exist?(path)
- Logger.debug "#{path} is used as a source file."
+ Itamae.logger.debug "#{path} is used as a source file."
return path
else
searched_paths << path
end
end