Skip to content

Commit

Permalink
Fix Rubocop violations
Browse files Browse the repository at this point in the history
  • Loading branch information
iangmaia committed Jan 7, 2025
1 parent 30ccb7c commit e899666
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fastlane/lanes/localization.rb
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@
# Clear release notes if the source file is empty
source_notes_file = File.join(metadata_source_dir, 'release_notes.txt')
if !File.exist?(source_notes_file) || File.read(source_notes_file).strip.empty?
all_app_locales = locales + [['en', 'en-US']]
all_app_locales.each do |_, google_play_locale|
all_app_locales = locales + [%w[en en-US]]
all_app_locales.each_value do |google_play_locale|
changelog_dir = File.join(metadata_download_path, google_play_locale, 'changelogs')
FileUtils.mkdir_p(changelog_dir)
File.write(File.join(changelog_dir, 'default.txt'), '')
Expand Down

0 comments on commit e899666

Please sign in to comment.