Commit 3db33a9311acf6ec3d52980fac1363223613ffb0

Authored by Jacob Vosmaer
1 parent 55cbfee6

Use Ruby `unless` instead of `if not`

files/gitlab-cookbooks/gitlab/libraries/helper.rb
... ... @@ -87,7 +87,7 @@ end
87 87 module SingleQuoteHelper
88 88  
89 89 def single_quote(string)
90   - "'#{string}'" if not string.nil?
  90 + "'#{string}'" unless string.nil?
91 91 end
92 92  
93 93 end
... ...