Update ci-check-strict.sh (#39298)

This commit is contained in:
Ashley Harrison 2021-09-16 16:51:35 +01:00 committed by GitHub
parent 87cdda4106
commit d0ae3a324f
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=47
ERROR_COUNT_LIMIT=46
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