diff --git a/lib/gem/release/context/git.rb b/lib/gem/release/context/git.rb index 475d7e6..16f0128 100644 --- a/lib/gem/release/context/git.rb +++ b/lib/gem/release/context/git.rb @@ -26,7 +26,7 @@ def user_email def user_login str = `git config --get github.user`.strip - str.empty? ? git_user_name : str + str.empty? ? user_name : str end end end