mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-26 12:25:20 +01:00
adding a kill command
This commit is contained in:
parent
c3690a28bd
commit
59eb876b06
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -64,6 +64,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Testing locale lengths
|
- name: Testing locale lengths
|
||||||
run: |
|
run: |
|
||||||
|
errors=0
|
||||||
for file in $(ls src/_locales/);
|
for file in $(ls src/_locales/);
|
||||||
do
|
do
|
||||||
echo "Testing locales extName lengths"
|
echo "Testing locales extName lengths"
|
||||||
@ -72,9 +73,14 @@ jobs:
|
|||||||
test_string=$(cat src/_locales/$file/messages.json | jq .extName.message | tr -d '"')
|
test_string=$(cat src/_locales/$file/messages.json | jq .extName.message | tr -d '"')
|
||||||
if [[ ${#test_string} -gt 40 ]]; then
|
if [[ ${#test_string} -gt 40 ]]; then
|
||||||
echo $file: ${#test_string}
|
echo $file: ${#test_string}
|
||||||
|
errors=1
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [[ $errors -eq 1 ]]; then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
- name: npm setup & test
|
- name: npm setup & test
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
|
Loading…
Reference in New Issue
Block a user