Skip to content

Commit 1897402

Browse files
committed
Replace echo with printf to add new lines in .strings lint logs
1 parent 6d01c35 commit 1897402

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.buildkite/commands/lint-localized-strings-format.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ if [[ $EXIT_CODE -ne 0 ]]; then
2424
# Strings generation finished with errors, extract the errors in an easy-to-find section
2525
echo "--- Report genstrings errors"
2626
ERRORS=errors.txt
27-
echo "Found errors when trying to run \`genstrings\` to generate the \`.strings\` files from \`*LocalizedStrings\` calls:" | tee $ERRORS
28-
echo '' >> $ERRORS
27+
printf "Found errors when trying to run \`genstrings\` to generate the \`.strings\` files from \`*LocalizedStrings\` calls:\n\n" | tee $ERRORS
2928
# Print the errors inline.
3029
#
3130
# Notice the second `sed` call that removes the ANSI escape sequences that

0 commit comments

Comments
 (0)