parent
7b7d4d2f1b
commit
62db042277
@ -331,7 +331,7 @@ class FormulaAuditor
|
|||||||
end
|
end
|
||||||
|
|
||||||
# Check for string interpolation of single values.
|
# Check for string interpolation of single values.
|
||||||
if text =~ /(system|inreplace|gsub!|change_make_var!) .* ['"]#\{(\w+(\.\w+)?)\}['"]/
|
if text =~ /(system|inreplace|gsub!|change_make_var!).*[ ,]"#\{([\w.]+)\}"/
|
||||||
problem "Don't need to interpolate \"#{$2}\" with #{$1}"
|
problem "Don't need to interpolate \"#{$2}\" with #{$1}"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user