lib/advance.rb in advance-0.3.1 vs lib/advance.rb in advance-0.3.2

- old
+ new

@@ -164,10 +164,10 @@ end def multi(command, previous_dir_path, dir_name) no_feedback = false work_in_sub_dir(dir_name) do - file_paths = Find.find(previous_dir_path).reject { |path| FileTest.directory?(path) || File.basename(path) == "log" } + file_paths = Find.find(previous_dir_path).reject { |p| File.basename(p) =~ %r(^\.) || FileTest.directory?(p) || File.basename(p) == "log" } last_progress = "" progress_proc = ->(index, max_index) do latest_progress = sprintf("%3i%", index.to_f / max_index * 100) puts latest_progress if last_progress != latest_progress