lib/brakeman/processors/lib/rails3_config_processor.rb in brakeman-3.2.1 vs lib/brakeman/processors/lib/rails3_config_processor.rb in brakeman-3.3.0
- old
+ new
@@ -22,11 +22,12 @@
super
@inside_config = false
end
#Use this method to process configuration file
- def process_config src
- res = Brakeman::AliasProcessor.new(@tracker).process_safely(src)
+ def process_config src, file_name
+ @file_name = file_name
+ res = Brakeman::AliasProcessor.new(@tracker).process_safely(src, nil, @file_name)
process res
end
#Look for MyApp::Application.configure do ... end
def process_iter exp