File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
lib/fastlane/plugin/wpmreleasetoolkit/actions/ios Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -22,17 +22,17 @@ def self.run_linter(params)
22
22
install_path : resolve_path ( params [ :install_path ] ) ,
23
23
version : params [ :version ]
24
24
)
25
- violations = helper . run (
25
+ all_violations = helper . run (
26
26
input_dir : resolve_path ( params [ :input_dir ] ) ,
27
27
base_lang : params [ :base_lang ] ,
28
28
only_langs : params [ :only_langs ]
29
29
)
30
30
31
- violations . each do |lang , violations |
32
- UI . error "Inconsistencies found between '#{ params [ :base_lang ] } ' and '#{ lang } ':\n \n #{ violations . join ( "\n " ) } \n "
31
+ all_violations . each do |lang , lang_violations |
32
+ UI . error "Inconsistencies found between '#{ params [ :base_lang ] } ' and '#{ lang } ':\n \n #{ lang_violations . join ( "\n " ) } \n "
33
33
end
34
34
35
- violations
35
+ all_violations
36
36
end
37
37
38
38
RETRY_MESSAGE = <<~MSG
@@ -148,15 +148,15 @@ def self.output
148
148
end
149
149
150
150
def self . return_type
151
- :hash_of_strings
151
+ :hash
152
152
end
153
153
154
154
def self . return_value
155
- 'A hash, keyed by language code, whose values are the diff found for said language'
155
+ 'A hash, keyed by language code, whose values are arrays of violations found for that language'
156
156
end
157
157
158
158
def self . authors
159
- [ 'AliSoftware ' ]
159
+ [ 'Automattic ' ]
160
160
end
161
161
162
162
def self . is_supported? ( platform )
You can’t perform that action at this time.
0 commit comments