Skip to content

Commit 6816f04

Browse files
committed
fx
1 parent 0865cfb commit 6816f04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/git/lib.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,7 @@ def commit(message, opts = {})
656656
arr_opts << "--date=#{opts[:date]}" if opts[:date].is_a? String
657657
arr_opts << '--no-verify' if opts[:no_verify]
658658
arr_opts << '--allow-empty-message' if opts[:allow_empty_message]
659-
arr_opts << "--gpg-sign=#{opts[:sign]}" if opts[:sign] || "--gpg-sign" if opts[:sign]=''
659+
arr_opts << '--gpg-sign' if opts[:sign]
660660

661661
command('commit', arr_opts)
662662
end

0 commit comments

Comments
 (0)