fixed codeclimate errors (partically)

This commit is contained in:
dinsmol 2021-09-09 09:19:09 +03:00
parent 3f41ce4ab4
commit f4e0084895
103 changed files with 339 additions and 367 deletions

View file

@ -10,4 +10,4 @@ namespace :invoices do
puts "Cancelled total: #{cancelled_invoice_count}"
end
end
end

View file

@ -41,7 +41,7 @@ namespace :invoices do
end
def log(msg)
@log ||= Logger.new(STDOUT)
@log ||= Logger.new($stdout)
@log.info(msg)
end