瀏覽代碼

CI: Update frontend ci metrics for strict null checks

Torkel Ödegaard 6 年之前
父節點
當前提交
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)"