]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/tile/files/default/ruby/expire.rb
Rubocop cleanups
[chef.git] / cookbooks / tile / files / default / ruby / expire.rb
index 7757386c5902272475f387fc1149d1a16279e72c..f99d646e0397974bca51b5a0a3345fe5dcc69fc0 100755 (executable)
@@ -131,7 +131,7 @@ module Expire
 
       # this is a node referenced but not added, modified or deleted, so it should
       # still be in the node cache.
-      if entry = node_cache[node_id]
+      if (entry = node_cache[node_id])
         point = Proj4::Point.new(entry.lon, entry.lat)
         nodes[node_id] = tile_from_merc(point, max_zoom)
       end