lib/brakeman/processors/lib/rails2_config_processor.rb in brakeman-3.2.1 vs lib/brakeman/processors/lib/rails2_config_processor.rb in brakeman-3.3.0
- old
+ new
@@ -25,11 +25,12 @@
def initialize *args
super
end
#Use this method to process configuration file
- def process_config src
- res = Brakeman::ConfigAliasProcessor.new.process_safely(src)
+ def process_config src, file_name
+ @file_name = file_name
+ res = Brakeman::ConfigAliasProcessor.new.process_safely(src, nil, file_name)
process res
end
#Check if config is set to use Erubis
def process_call exp