diff --git a/files/gitlab-cookbooks/gitlab/libraries/helper.rb b/files/gitlab-cookbooks/gitlab/libraries/helper.rb index 90a595c..a2eefe1 100644 --- a/files/gitlab-cookbooks/gitlab/libraries/helper.rb +++ b/files/gitlab-cookbooks/gitlab/libraries/helper.rb @@ -87,7 +87,7 @@ end module SingleQuoteHelper def single_quote(string) - "'#{string}'" if not string.nil? + "'#{string}'" unless string.nil? end end -- libgit2 0.21.2