Skip to content
Browse files

Fix setting original_line in RenderHelper

although I don't think it makes a difference
  • Loading branch information...
1 parent d08250b commit 1582fb243e58d227deb7d06297e83f058c8edf41 @presidentbeef presidentbeef committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/brakeman/processors/lib/render_helper.rb
View
4 lib/brakeman/processors/lib/render_helper.rb
@@ -115,7 +115,9 @@ def process_template name, args, called_from = nil
#that values came from another file
template_env.all.each do |var, value|
unless value.original_line
- value.original_line = value.line
+ #TODO: This has been broken for a while now and no one noticed
+ #so maybe we can skip it
+ value.original_line(value.line)
end
end

0 comments on commit 1582fb2

Please sign in to comment.
Something went wrong with that request. Please try again.