File tree Expand file tree Collapse file tree
lib/fastlane/plugin/ddg_apple_automation Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
434440end
435441
436442module FastlaneCore
You can’t perform that action at this time.
0 commit comments