Skip to content

Improve the only test to reduce cyclomatic complexity (less indentation)

Pablo Carranza [GitLab] requested to merge pc/improve-only-test into master

Try to keep the indentation as low as possible, avoid having large chunks of code inside an if, it's less cognitive load if you bail out soon instead.

Merge request reports

Loading