style clean up

This commit is contained in:
Shiny authored and GitHub committed 2018-01-29 12:56:41 +13:00
1 parent 94db28b3a9
commit 3d4598e4e1
1 file changed
+1 -1
+1 -1
View File
@@ -88,7 +88,7 @@ namespace :growstuff do
# site is small and there aren't many of them, so it shouldn't matter
# for this one-off script.
Garden.all.each do |g|
if g.name.nil? || g.name =~(/^\s*$/)
if g.name.nil? || g.name =~ /^\s*$/
g.name = "Garden"
g.save
end