Skip to content

Commit

Permalink
path: replace duplicate conditions by functions
Browse files Browse the repository at this point in the history
It will also remove useless "code" variables by inlining
path.charCodeAt.

PR-URL: nodejs#18693
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Jon Moss <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
daynin authored and MayaLekova committed May 8, 2018
1 parent 97bbd39 commit 46c9011
Showing 1 changed file with 76 additions and 111 deletions.
Loading

0 comments on commit 46c9011

Please sign in to comment.