Skip to content

A platform for community discussion. Free, open, simple.

DEV: Fix unicorn not booting due to 8e10878 (#27727)

Alan Guo Xiang Tan37413c0ecd12
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