From 0652a65240524c368b51dbe5cbc367385560b2fd Mon Sep 17 00:00:00 2001 From: Morgan Roderick Date: Fri, 31 Jul 2026 11:07:00 +0200 Subject: [PATCH] style(rubocop): resolve Lint/Debugger todo entry --- .rubocop_todo.yml | 6 ------ spec/spec_helper.rb | 2 ++ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 6e1c0ce0a..317e1e403 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -6,12 +6,6 @@ # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Offense count: 1 -# Configuration parameters: DebuggerMethods, DebuggerRequires. -Lint/Debugger: - Exclude: - - 'spec/spec_helper.rb' - # Offense count: 32 # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes, Max. Metrics/AbcSize: diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index b7d530c2a..88610b6ad 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -106,7 +106,9 @@ screenshot_filename = "#{filename}:#{line_number}.png" # Save the screenshot using the custom filename + # rubocop:disable Lint/Debugger page.save_screenshot(screenshot_filename) + # rubocop:enable Lint/Debugger end end