File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
lib/fastlane/plugin/wpmreleasetoolkit/helper Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -320,15 +320,6 @@ Style/SymbolProc:
320
320
- ' lib/fastlane/plugin/wpmreleasetoolkit/helper/ios/ios_version_helper.rb'
321
321
- ' lib/fastlane/plugin/wpmreleasetoolkit/models/configuration.rb'
322
322
323
- # Offense count: 2
324
- # This cop supports safe autocorrection (--autocorrect).
325
- # Configuration parameters: EnforcedStyle, AllowSafeAssignment.
326
- # SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
327
- Style/TernaryParentheses :
328
- Exclude :
329
- - ' lib/fastlane/plugin/wpmreleasetoolkit/actions/common/extract_release_notes_for_version_action.rb'
330
- - ' lib/fastlane/plugin/wpmreleasetoolkit/helper/configure_helper.rb'
331
-
332
323
# Offense count: 3
333
324
# This cop supports safe autocorrection (--autocorrect).
334
325
Style/UnlessElse :
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ def self.update_configure_file_commit_hash(new_hash)
72
72
### NB: Returns nil if the repo is in a detached HEAD state.
73
73
def self . repo_branch_name
74
74
result = `cd #{ repository_path } && git rev-parse --abbrev-ref HEAD` . strip
75
- ( result == 'HEAD' ) ? nil : result
75
+ result == 'HEAD' ? nil : result
76
76
end
77
77
78
78
### Returns the most recent commit hash in the `~/.mobile-secrets` repository.
You can’t perform that action at this time.
0 commit comments