Chore: Update strict error threshold (#35979)

This commit is contained in:
Hugo Häggmark 2021-06-21 09:35:04 +02:00 committed by GitHub
parent 6f3887ca88
commit 45a5510978
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ set -e
echo -e "Collecting code stats (typescript errors & more)"
ERROR_COUNT_LIMIT=256
ERROR_COUNT_LIMIT=220
ERROR_COUNT="$(./node_modules/.bin/tsc --project tsconfig.json --noEmit --strict true | grep -oP 'Found \K(\d+)')"
if [ "$ERROR_COUNT" -gt $ERROR_COUNT_LIMIT ]; then