Skip to content

Commit 7b44115

Browse files
committed
Make rubocop happy
1 parent b733bf1 commit 7b44115

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

lib/fastlane/plugin/ddg_apple_automation/actions/tds_perf_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ def self.run(params)
5555

5656
# Navigate to cloned repository
5757
Dir.chdir("TrackerRadarKit") do
58-
# Build for testing
58+
# Build for testing
5959
begin
6060
Actions.sh("xcodebuild build-for-testing -scheme TrackerRadarKit -destination 'platform=macOS'")
6161
rescue StandardError => e
62-
UI.error("Failed to build for testing: #{e}")
62+
UI.error("Failed to build for testing: #{e}")
6363
false
6464
end
6565

lib/fastlane/plugin/ddg_apple_automation/helper/ddg_apple_automation_helper.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ module Fastlane
1010
UI = FastlaneCore::UI unless Fastlane.const_defined?(:UI)
1111

1212
module Helper
13+
# This class exceeds the maximum allowed length, so we should refactor it to reduce complexity.
14+
# The rubocop exception has been added in a PR which only added one line to the class, so the
15+
# work to refactor could be hardly justified, but we should prioritise refactoring in a dedicated
16+
# PR or as soon as we touch this file with bigger changes.
17+
# rubocop:disable Metrics/ClassLength
1318
class DdgAppleAutomationHelper
1419
DEFAULT_BRANCH = 'main'
1520
RELEASE_BRANCH = 'release'
@@ -431,6 +436,7 @@ def self.load_file(file)
431436
end
432437
end
433438
end
439+
# rubocop:enable Metrics/ClassLength
434440
end
435441

436442
module FastlaneCore

0 commit comments

Comments
 (0)