babel
babel copied to clipboard
Apply demorgan's laws to simplify load code
Previously, the load code contained two branches on either side of an unconditional file load. Their predicates were the exact opposite of each other, according to Demorgan's laws.
Clarify the code by replacing the two confusing branches with one clearer branch.
This does not change functionality; there's no relevant bug in the system.
Current coverage is 89.74%
Merging #371 into master will decrease coverage by -0.01% as of
eb182fc
@@ master #371 diff @@
======================================
Files 23 23
Stmts 3854 3852 -2
Branches 0 0
Methods 0 0
======================================
- Hit 3459 3457 -2
Partial 0 0
Missed 395 395
Review entire Coverage Diff as of
eb182fcPowered by Codecov. Updated on successful CI builds.