Chore: Reduces strict errors in DashboardPickerByID (#40431)

* Chore: Reduces strict errors in DashboardPickerByID

* Chore: updates after PR comments

* Chore: fix for undefined strict error
This commit is contained in:
Hugo Häggmark
2021-10-14 10:20:04 +02:00
committed by GitHub
parent 0c7e27bada
commit 31d50f931d
3 changed files with 24 additions and 20 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ set -e
echo -e "Collecting code stats (typescript errors & more)"
ERROR_COUNT_LIMIT=40
ERROR_COUNT_LIMIT=39
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