lib/advance.rb in advance-0.4.2 vs lib/advance.rb in advance-0.4.3

- old
+ new

@@ -217,10 +217,10 @@ work_in_sub_dir(dir_name) do 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) + latest_progress = sprintf("%3i%%", index.to_f / max_index * 100) puts latest_progress if last_progress != latest_progress last_progress = latest_progress end TeamEffort.work(file_paths, $cores, progress_proc: progress_proc) do |file_path| begin