Просмотр исходного кода

CI: Update frontend ci metrics for strict null checks

Torkel Ödegaard 6 лет назад
Родитель
Сommit
fa209f21c3
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      scripts/ci-frontend-metrics.sh

+ 1 - 1
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)"