Sha256: a8d2900ad553a475efe3de7b0afa6a79dc50f8fe80e15d7483edc12b6e7af93b
Contents?: true
Size: 773 Bytes
Versions: 8
Compression:
Stored size: 773 Bytes
Contents
# frozen_string_literal: true require 'avm/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
8 entries across 8 versions & 1 rubygems