1
0
mirror of synced 2026-08-05 09:56:56 +00:00

DEV: Rename shadowed variable

This commit is contained in:
David Taylor
2018-10-22 21:24:55 +01:00
parent 7a86163c5f
commit 17e649d645
+1 -1
View File
@@ -161,7 +161,7 @@ SQL
needed_classes = {}
pg_result.fields.each_with_index do |col, idx|
rgx = column_regexes.find { |rgx| rgx.match col }
rgx = column_regexes.find { |r| r.match col }
if rgx
cls = (rgx.match col)[1].to_sym
needed_classes[cls] ||= []