Skip to content

Commit

Permalink
Tests: Remove an unused local variable
Browse files Browse the repository at this point in the history
Closes gh-4769

(cherry picked from commit 82b87f6)
  • Loading branch information
wonhyoung05 authored and mgol committed Aug 13, 2020
1 parent bf1430a commit beea433
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/middleware-mockserver.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,7 @@ function MockserverMiddlewareFactory() {
* @param {Function} next Continue request handling
*/
return function( req, resp, next ) {
var method = req.method,
parsed = url.parse( req.url, /* parseQuery */ true ),
var parsed = url.parse( req.url, /* parseQuery */ true ),
path = parsed.pathname.replace( /^\/base\//, "" ),
query = parsed.query,
subReq = Object.assign( Object.create( req ), {
Expand Down

0 comments on commit beea433

Please sign in to comment.