Skip to content

Commit 25945b7

Browse files
mokagioAliSoftware
andcommitted
Improve ios_strings_file_validation_helper.rb documentation
Co-authored-by: Olivier Halligon <olivier.halligon@automattic.com>
1 parent 821594e commit 25945b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/fastlane/plugin/wpmreleasetoolkit/helper/ios/ios_strings_file_validation_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def self.find_duplicated_keys(file:)
7373
File.readlines(file).each_with_index do |line, line_no|
7474
line.chars.each_with_index do |c, col_no|
7575
# Handle escaped characters at a global level.
76-
# This is more straightforward than having a `TRANSITIONS` table that account for it.
76+
# This is more straightforward than having to account for it in the `TRANSITIONS` table.
7777
if state.in_escaped_ctx || c == '\\'
7878
# Just because we check for escaped characters at the global level, it doesn't mean we allow them in every context.
7979
allowed_contexts_for_escaped_characters = %i[in_quoted_key in_quoted_value in_block_comment in_line_comment]

0 commit comments

Comments
 (0)