-
Notifications
You must be signed in to change notification settings - Fork 240
Closed
Description
This line of code is adding a question mark to the end of paths even if they have no query string. I changed it but it broke some node tests, is this intentional?
Here's what I would have changed it to, since the path is set right above with just the pathname.
// add search property to path
if (this.source.uriObj.search) {
this.source.uriObj.path = this.source.uriObj.pathname + '?' + this.source.uriObj.search
}
Metadata
Metadata
Assignees
Labels
No labels