Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

fix route sorting #175

Merged
merged 1 commit into from
Mar 7, 2018
Merged

fix route sorting #175

merged 1 commit into from
Mar 7, 2018

Conversation

Rich-Harris
Copy link
Member

Fixes a rare case where the sort comparator would erroneously return 0, causing situations where (for example) foo/[id].js would match before foo.js because they never got compared.

@Rich-Harris Rich-Harris merged commit 06af8e8 into master Mar 7, 2018
@Rich-Harris Rich-Harris deleted the fix-route-sorting branch March 7, 2018 19:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant