lib/zold/commands/diff.rb in zold-0.16.27 vs lib/zold/commands/diff.rb in zold-0.16.28
- old
+ new
@@ -18,10 +18,11 @@
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
+require_relative 'thread_badge'
require 'tempfile'
require 'slop'
require 'diffy'
require 'rainbow'
require_relative 'args'
@@ -34,10 +35,12 @@
# Copyright:: Copyright (c) 2018 Yegor Bugayenko
# License:: MIT
module Zold
# DIFF pulling command
class Diff
- def initialize(wallets:, copies:, log: Log::Quiet.new)
+ prepend ThreadBadge
+
+ def initialize(wallets:, copies:, log: Log::NULL)
@wallets = wallets
@copies = copies
@log = log
end