]> git.openstreetmap.org Git - rails.git/blobdiff - script/statistics
Exclude files in the vendor directory from erb-lint rubocop checks
[rails.git] / script / statistics
index 912302c2ee7bb4bd5d0c921679bb322a2fd475dd..8b79523b728730b3b3b22b562c06556937686683 100755 (executable)
@@ -15,7 +15,7 @@ puts "<h2>OpenStreetMap stats report run at #{start_time}</h2>"
 
 begin
   ActiveRecord::Base.transaction do
-    user_count = User.where(:status => %w(active confirmed suspended)).count
+    user_count = User.where(:status => %w[active confirmed suspended]).count
     tracepoint_count = Tracepoint.count
     node_count = Node.where(:visible => true).count
     way_count = Way.where(:visible => true).count