moving the message out of the loop
This commit is contained in:
parent
27ab3193c9
commit
a88b229ff9
|
@ -65,11 +65,11 @@ jobs:
|
|||
- name: Testing locale lengths
|
||||
run: |
|
||||
errors=0
|
||||
echo "Testing locales extName lengths"
|
||||
echo "All must be 40 or less for Safari"
|
||||
echo "================================="
|
||||
for file in $(ls src/_locales/);
|
||||
do
|
||||
echo "Testing locales extName lengths"
|
||||
echo "All must be 40 or less for Safari"
|
||||
echo "================================="
|
||||
test_string=$(cat src/_locales/$file/messages.json | jq .extName.message | tr -d '"')
|
||||
if [[ ${#test_string} -gt 40 ]]; then
|
||||
echo $file: ${#test_string}
|
||||
|
|
Loading…
Reference in New Issue