mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-19 13:54:25 +01:00
(quality) do not print newlines for progression indicator
This commit is contained in:
parent
05aaa885a1
commit
70be8b4053
@ -40,7 +40,7 @@ namespace :fablab do
|
||||
counter = 1
|
||||
missing_references.each_pair do |date, numbers|
|
||||
numbers.reverse_each.with_index do |number, index|
|
||||
puts "#{counter} / #{total}"
|
||||
print "#{counter} / #{total}\r"
|
||||
invoice = Invoice.new(
|
||||
total: 0,
|
||||
invoicing_profile: user.invoicing_profile,
|
||||
@ -61,6 +61,7 @@ namespace :fablab do
|
||||
counter += 1
|
||||
end
|
||||
end
|
||||
print "\n"
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user