lib/arachni/check/manager.rb in arachni-1.0.4 vs lib/arachni/check/manager.rb in arachni-1.0.5
- old
+ new
@@ -114,16 +114,22 @@
#
# @param [Check::Base] check
# Check to run as a class.
# @param [Page] page
# Page to audit.
+ #
+ # @return [Bool]
+ # `true` if the check was ran (based on {Check::Auditor.check?}),
+ # `false` otherwise.
def run_one( check, page )
return false if !check.check?( page )
check_new = check.new( page, @framework )
check_new.prepare
check_new.run
check_new.clean_up
+
+ true
end
def self.reset
remove_constants( NAMESPACE )
end