From 3d6df6e31f32c0603df023b74a97e61162fcf7d3 Mon Sep 17 00:00:00 2001 From: Riccardo Porreca Date: Wed, 15 Mar 2023 09:08:57 +0100 Subject: [PATCH] Read-only `current_filename`/`_source` attributes in `Runner` --- lib/html_proofer/runner.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/html_proofer/runner.rb b/lib/html_proofer/runner.rb index 36330775..05b2a8d9 100644 --- a/lib/html_proofer/runner.rb +++ b/lib/html_proofer/runner.rb @@ -6,8 +6,8 @@ module HTMLProofer class Runner include HTMLProofer::Utils - attr_reader :options, :cache, :logger, :internal_urls, :external_urls, :resolved_paths, :current_check - attr_accessor :current_filename, :current_source, :reporter + attr_reader :options, :cache, :logger, :internal_urls, :external_urls, :resolved_paths, :current_check, :current_filename, :current_source + attr_accessor :reporter URL_TYPES = [:external, :internal].freeze