Closed ChALkeR closed 4 years ago
Also rename errors internal variable to errorCount to avoid confusion, and avoid defining it needlessly when allErrors !== true.
errors
errorCount
allErrors !== true
Strict mode prevents from accidentally defining global variables, so this is secure and we won't slip in unnoticed allErrors usage without definition.
allErrors
Depends on #112.
Merging #113 into chalker/better-errors2 will increase coverage by 0.00%. The diff coverage is 100.00%.
0.00%
100.00%
98.83% <100.00%> (+<0.01%)
Also rename
errors
internal variable toerrorCount
to avoid confusion, and avoid defining it needlessly whenallErrors !== true
.Strict mode prevents from accidentally defining global variables, so this is secure and we won't slip in unnoticed
allErrors
usage without definition.Depends on #112.