lib/bhook/directory.rb in bhook-0.1.2 vs lib/bhook/directory.rb in bhook-0.1.3
- old
+ new
@@ -18,10 +18,11 @@
build_next_level_nodes
end
sig { params(theme: Theme).void }
def write!(theme)
- FileUtils.mkdir_p(@out_path, verbose: true)
+ FileUtils.mkdir_p(@out_path)
+ L.debug("mkdir: #{@out_path}")
@sub_dirs.each { |dir| dir.write!(theme) }
@md_files.map do |file|
Thread.new { file.write!(theme) }
end.each do |thread|
thread.join