Unverified Commit f59fdd9d authored by Ruben Bridgewater's avatar Ruben Bridgewater
Browse files

path: minor refactoring

1) Consolidate nested if statements if possible
     `if (foo) { if bar () { /* do stuff */ } }`)
   to reduce indentation depth.
2) Remove obsolete else cases to reduce indentation.

PR-URL: https://github.com/nodejs/node/pull/25278


Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
parent a019d7bd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment