lib/zold/commands/fetch.rb in zold-0.16.27 vs lib/zold/commands/fetch.rb in zold-0.16.28
- old
+ new
@@ -26,10 +26,11 @@
require 'tempfile'
require 'slop'
require 'rainbow'
require 'concurrent/atomics'
require 'zold/score'
+require_relative 'thread_badge'
require_relative 'args'
require_relative '../log'
require_relative '../age'
require_relative '../http'
require_relative '../size'
@@ -41,10 +42,12 @@
# Copyright:: Copyright (c) 2018 Yegor Bugayenko
# License:: MIT
module Zold
# FETCH pulling command
class Fetch
- def initialize(wallets:, remotes:, copies:, log: Log::Quiet.new)
+ prepend ThreadBadge
+
+ def initialize(wallets:, remotes:, copies:, log: Log::NULL)
@wallets = wallets
@remotes = remotes
@copies = copies
@log = log
end