def end_hook(hook, status, output)
      # Want to print the header for quiet hooks only if the result wasn't good
      # so that the user knows what failed
      print_header(hook) if (!hook.quiet? && !@config['quiet']) || status != :pass

      print_result(hook, status, output)
    end
def end_hook(hook, status, output)
      # Want to print the header for quiet hooks only if the result wasn't good
      # so that the user knows what failed
      print_header(hook) if (!hook.quiet? && !@config['quiet']) || status != :pass

      print_result(hook, status, output)
    end
Executed at the end of an individual hook run.