Unverified Commit 05a8dbc9 authored by Ruben Bridgewater's avatar Ruben Bridgewater
Browse files

path: minor refactoring

1) This uses some ternary expressions instead of if else to assign
   some variables.
2) Use template strings instead of concat.
3) Use the object shortand notation.
4) Some var to let / const.
5) Removed some double line breaks.
6) Less brackets around statements if not necessary.

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


Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
parent 410eb97b
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