Closed wonu closed 1 year ago
When finding the last segment of routeIdWithoutRoutes to determine a route, '/' should be used instead of path.sep because routeIdWithoutRoutes has already been normalized by normalizeSlashes().
routeIdWithoutRoutes
path.sep
normalizeSlashes()
@kiliman any chance of getting this merged? It unblocked a Windows developer here who was encountering issues.
Ugh. Sorry, I should know better since I use both macOS and Windows.
Published as v0.5.8
When finding the last segment of
routeIdWithoutRoutes
to determine a route, '/' should be used instead ofpath.sep
becauserouteIdWithoutRoutes
has already been normalized bynormalizeSlashes()
.