Update ci-script/tsc-strict-error.mjs

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
pull/5693/head
TruongSinh Tran-Nguyen 5 years ago committed by GitHub
parent 950da2b764
commit a0781e5dbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,7 +25,7 @@ async function main() {
let conditionallyExitWithNonZeroCode = noop;
for (let i = 0; i < tsErrorsThreshold.length; i++) {
if(errorsCount[i] > tsErrorsThreshold[i]) {
if (errorsCount[i] > tsErrorsThreshold[i]) {
conditionallyPrintError[i] = () => console.log(errors[i]);
conditionallyExplainError = () => console.log(`This project is in the processing of enforcing TypeScript's "strict": true`);
printErrorCount[i] = () => printErrorFromCompileCount(dirToCheck[i], errorsCount[i], tsErrorsThreshold[i], 'higher than')

Loading…
Cancel
Save