From fa209f21c3b45c05857d857bc050c4916eaa1236 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Thu, 19 Sep 2019 09:37:49 +0200 Subject: [PATCH] CI: Update frontend ci metrics for strict null checks --- scripts/ci-frontend-metrics.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci-frontend-metrics.sh b/scripts/ci-frontend-metrics.sh index 2db4f7abe02..5a4219dcfe5 100755 --- a/scripts/ci-frontend-metrics.sh +++ b/scripts/ci-frontend-metrics.sh @@ -7,7 +7,7 @@ ERROR_COUNT_LIMIT=1549 DIRECTIVES_LIMIT=172 CONTROLLERS_LIMIT=139 -ERROR_COUNT="$(./node_modules/.bin/tsc --project tsconfig.json --noEmit --strict true | grep -oP 'Found \K(\d+)')" +ERROR_COUNT="$(./node_modules/.bin/tsc --project tsconfig.json --noEmit --strictNullChecks true | grep -oP 'Found \K(\d+)')" DIRECTIVES="$(grep -r -o directive public/app/**/* | wc -l)" CONTROLLERS="$(grep -r -oP 'class .*Ctrl' public/app/**/* | wc -l)"