Loki: fix typescript-strict-mode error (#40566)

* loki: fix typescript-strict error

* loki: fix typescript-strict-mode error
This commit is contained in:
Gábor Farkas
2021-10-18 12:35:56 +02:00
committed by GitHub
parent 8939636492
commit 1f44023ebe
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ set -e
echo -e "Collecting code stats (typescript errors & more)"
ERROR_COUNT_LIMIT=13
ERROR_COUNT_LIMIT=12
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