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

This commit is contained in:
Ashley Harrison 2021-08-02 12:38:36 +01:00 committed by GitHub
parent b0dcbd568a
commit e7d4b175b7
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=77
ERROR_COUNT_LIMIT=73
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