Sha256: 660d2582bb95a0799adb8134d4ff8723c69767626b772b0c75fe226848371147
Contents?: true
Size: 471 Bytes
Versions: 114
Compression:
Stored size: 471 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' module Avm module Git module AutoCommit class CommitInfo enable_immutable immutable_accessor :fixup, :message def git_commit_args r = fixup.if_present([]) { |v| ['--fixup', v.sha1] } r += message.if_present([]) { |v| ['--message', v] } return r if r.any? raise 'Argument list is empty' end end end end end
Version data entries
114 entries across 114 versions & 4 rubygems