lib/headdesk/check.rb in headdesk-0.11.1 vs lib/headdesk/check.rb in headdesk-0.11.2

- old
+ new

@@ -43,17 +43,18 @@ # :reek:DuplicateMethodCall and :reek:ManualDispatch def initialize(bundle) @apk = bundle @ipa = bundle + @status = :skip @report = { description: self.class.describe, steps: [], - export: {} + export: {}, + status: @status } @report[:name] = self.class.check_name if self.class.respond_to?(:check_name) @report[:doc] = "https://github.com/GoCarrot/headdesk/blob/#{Headdesk::VERSION}/docs/#{self.class.doc}" if self.class.respond_to?(:check_name) - @status = :skip end def describe(desc = nil) @last_desc = desc if desc @last_desc