CI: Update frontend ci metrics for strict null checks

This commit is contained in:
Torkel Ödegaard 2019-09-19 09:37:49 +02:00
parent f445369d68
commit fa209f21c3

View File

@ -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)"