Skip to content

Commit 4d796df

Browse files
AliSoftwaremokagio
andauthored
Use .each instead of .map in script
Co-authored-by: Gio Lodi <giovanni.lodi42@gmail.com>
1 parent ce4e6f5 commit 4d796df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Scripts/BuildPhases/LintAppLocalizedStringsUsage.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def lint(file_path:, target_name:)
2828
end
2929

3030
violations_count = 0
31-
targets_to_analyze.map do |target|
31+
targets_to_analyze.each do |target|
3232
build_phase = target.build_phases.find { |p| p.is_a?(Xcodeproj::Project::Object::PBXSourcesBuildPhase) }
3333
next if build_phase.nil?
3434

0 commit comments

Comments
 (0)