diff --git a/lib/git_utils.rb b/lib/git_utils.rb index f7080cca650..fb664fe2a43 100644 --- a/lib/git_utils.rb +++ b/lib/git_utils.rb @@ -28,6 +28,6 @@ class GitUtils default_value end - (value.present? ? value : nil) || default_value + (!value.empty? ? value : nil) || default_value end end