Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nylen committed Jan 27, 2015
1 parent b6153ed commit eab45ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions request.js
Expand Up @@ -159,7 +159,7 @@ function getTunnelOption(self, options) {
return undefined
}

function construcTunnelOptions(request) {
function constructTunnelOptions(request) {
var proxy = request.proxy

var tunnelOptions = {
Expand Down Expand Up @@ -311,7 +311,7 @@ Request.prototype.setupTunnel = function () {
proxyHeaderExclusiveList.forEach(self.removeHeader, self)

var tunnelFn = getTunnelFn(self)
var tunnelOptions = construcTunnelOptions(self)
var tunnelOptions = constructTunnelOptions(self)

self.agent = tunnelFn(tunnelOptions)
return true
Expand Down

0 comments on commit eab45ea

Please sign in to comment.