diff --git a/lib/interceptor/dns.js b/lib/interceptor/dns.js index c3c402b717a..c8d56c2cf77 100644 --- a/lib/interceptor/dns.js +++ b/lib/interceptor/dns.js @@ -340,7 +340,7 @@ module.exports = interceptorOpts => { const instance = new DNSInstance(opts) - return (dispatch) => { + return dispatch => { return function dnsInterceptor (origDispatchOpts, handler) { const origin = origDispatchOpts.origin.constructor === URL