Skip to content

Commit 5570dab

Browse files
committed
Adding a message at end of linting each target
See @mokagio's suggestion in #18427 (comment)
1 parent ec7f727 commit 5570dab

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Scripts/BuildPhases/LintAppLocalizedStringsUsage.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ def lint(file_path:, target_name:)
3535
puts "Linting extension target #{target.name} for improper NSLocalizedString usage..."
3636
source_files = build_phase.files_references.map(&:real_path).select { |f| ['.m', '.swift'].any? { |ext| f.extname == ext } }
3737
source_files.each { |f| violations_count += lint(file_path: f, target_name: target.name) }
38+
puts "Done."
3839
end
3940

4041
exit 1 if violations_count > 0

0 commit comments

Comments
 (0)