Sha256: 76a04494479fecde3064f75c74090d7d64eadbb6352db65fac1328fc18aff552
Contents?: true
Size: 773 Bytes
Versions: 70
Compression:
Stored size: 773 Bytes
Contents
# frozen_string_literal: true require 'eac_launcher/git/base' require 'eac_ruby_utils/core_ext' module Avm module Git class SubrepoCheck module ShowResult def show_result out(subrepo.subpath.to_path.cyan) out_attr('parent', parent_result.label) run_fix_parent out_attr('remote', remote_result.label) out("\n") end def run_fix_parent return unless fix_parent? return unless parent_result.error? out('|Fixing...'.white) self.parent_hash = expected_parent_hash out_attr('new parent', parent_result.label) end def out_attr(key, value) out('|' + "#{key}=".white + value) end end end end end
Version data entries
70 entries across 70 versions & 1 rubygems