Skip to content

Commit

Permalink
don't need to resolve with
Browse files Browse the repository at this point in the history
  • Loading branch information
flotwig committed Aug 7, 2019
1 parent 8d10e16 commit 7f61749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/https-proxy/lib/server.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ class Server
## https://github.com/cypress-io/cypress/issues/771
_getServerPortForIp: (ip, data) =>
if server = @_ipServers[ip]
return Promise.resolve(server.address().port)
return server.address().port

new Promise (resolve) =>
@_ipServers[ip] = server = https.createServer(data)
Expand Down

0 comments on commit 7f61749

Please sign in to comment.