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 <info@bnoordhuis.nl>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • 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.