Skip to content

Commit

Permalink
fx
Browse files Browse the repository at this point in the history
  • Loading branch information
othmane399 committed Mar 26, 2021
1 parent 0865cfb commit 6816f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/git/lib.rb
Expand Up @@ -656,7 +656,7 @@ def commit(message, opts = {})
arr_opts << "--date=#{opts[:date]}" if opts[:date].is_a? String
arr_opts << '--no-verify' if opts[:no_verify]
arr_opts << '--allow-empty-message' if opts[:allow_empty_message]
arr_opts << "--gpg-sign=#{opts[:sign]}" if opts[:sign] || "--gpg-sign" if opts[:sign]=''
arr_opts << '--gpg-sign' if opts[:sign]

command('commit', arr_opts)
end
Expand Down

0 comments on commit 6816f04

Please sign in to comment.