diff --git a/lib/adapters/http.js b/lib/adapters/http.js index bf6c2fffcb..fc478c4caa 100755 --- a/lib/adapters/http.js +++ b/lib/adapters/http.js @@ -391,11 +391,13 @@ export default isHttpAdapterSupported && function httpAdapter(config) { auth, protocol, family, - lookup, beforeRedirect: dispatchBeforeRedirect, beforeRedirects: {} }; + // cacheable-lookup integration hotfix + !utils.isUndefined(lookup) && (options.lookup = lookup); + if (config.socketPath) { options.socketPath = config.socketPath; } else {