Skip to content

Commit f12a7a8

Browse files
Using isBlank to check for empty string
1 parent e886346 commit f12a7a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Code/StringsFileUpdater.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public class StringsFileUpdater {
6060
for newTranslation in newTranslations {
6161
// skip keys marked for ignore
6262
guard !newTranslation.value.containsAny(of: ignores) else { continue }
63-
if ignoreEmptyStrings && newTranslation.isBlank { continue }
63+
if ignoreEmptyStrings && newTranslation.value.isBlank { continue }
6464

6565
// Skip keys that have been marked for ignore in comment
6666
if let newComment = newTranslation.comment, newComment.containsAny(of: ignores) { continue }

0 commit comments

Comments
 (0)