Skip to content

Commit

Permalink
CI: Update frontend ci metrics for strict null checks
Browse files Browse the repository at this point in the history
  • Loading branch information
torkelo committed Sep 19, 2019
1 parent f445369 commit fa209f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ci-frontend-metrics.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)"

Expand Down

0 comments on commit fa209f2

Please sign in to comment.