1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-13 00:51:45 +01:00

Fix working directory bug (#2769)

This commit is contained in:
Vince Grassia 2022-06-01 15:36:16 -04:00 committed by GitHub
parent dac02ed11d
commit 6b51b95d39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,6 @@ on:
defaults: defaults:
run: run:
shell: bash shell: bash
working-directory: apps/browser
jobs: jobs:
setup: setup:
@ -67,27 +66,28 @@ jobs:
- name: Testing locales - extName length - name: Testing locales - extName length
run: | run: |
found_error=false found_error=false
echo "Locales Test" echo "Locales Test"
echo "============" echo "============"
echo "extName string must be 40 characters or less" echo "extName string must be 40 characters or less"
echo echo
for locale in $(ls src/_locales/); do for locale in $(ls src/_locales/); do
string_length=$(jq '.extName.message | length' src/_locales/$locale/messages.json) string_length=$(jq '.extName.message | length' src/_locales/$locale/messages.json)
if [[ $string_length -gt 40 ]]; then if [[ $string_length -gt 40 ]]; then
echo "$locale: $string_length" echo "$locale: $string_length"
found_error=true found_error=true
fi fi
done done
if $found_error; then if $found_error; then
echo echo
echo "Please fix 'extName' for the locales listed above." echo "Please fix 'extName' for the locales listed above."
exit 1 exit 1
else else
echo "Test passed!" echo "Test passed!"
fi fi
working-directory: apps/browser
release: release: