lib/rubysmith/configuration/enhancers/git_user.rb in rubysmith-4.0.1 vs lib/rubysmith/configuration/enhancers/git_user.rb in rubysmith-4.1.0
- old
+ new
@@ -21,10 +21,11 @@
private
attr_reader :git
def user
- git.get("user.name", "TODO")
+ git.get("user.name")
+ .value_or("")
.then { |name| String(name).split }
.then { |first, last| {author_given_name: first, author_family_name: last} }
end
end
end