Skip to content

Commit f2cdc55

Browse files
committed
Soft-wrap hard-wrapped comments in helper/metadata_download_helper.rb
Use a longer line length and prefer semantic line breaks to hard-wraps. See #342 (comment)
1 parent 9b7a3c1 commit f2cdc55

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/fastlane/plugin/wpmreleasetoolkit/helper/metadata_download_helper.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ def initialize(target_folder, target_files)
1212
@alternates = {}
1313
end
1414

15-
# Downloads data from GlotPress,
16-
# in JSON format
15+
# Downloads data from GlotPress, in JSON format
1716
def download(target_locale, glotpress_url, is_source)
1817
uri = URI(glotpress_url)
1918
response = Net::HTTP.get_response(uri)
@@ -80,8 +79,7 @@ def update_key(target_locale, key, file, data, msg)
8079
end
8180
end
8281

83-
# Writes the downloaded content
84-
# to the target file
82+
# Writes the downloaded content to the target file
8583
def save_metadata(locale, file_name, content)
8684
file_path = get_target_file_path(locale, file_name)
8785

0 commit comments

Comments
 (0)