Permalink
Browse files

Use all-caps env var name

Makes HTTP_PROXY consistent with PORT or TRAVIS_BUILD_NUMBER
elsewhere in the application. Are parsed case insensitive by Node anyway.
  • Loading branch information...
bkimminich committed Dec 23, 2018
1 parent 9b9d28e commit be32d523cdc0c81ee4bba69fd674a0de74ea555b
Showing with 2 additions and 2 deletions.
  1. +2 −2 protractor.conf.js
@@ -4,10 +4,10 @@ var proxy = {
proxyType: 'autodetect'
}

if (process.env.http_proxy !== undefined && process.env.http_proxy !== null) {
if (process.env.HTTP_PROXY !== undefined && process.env.HTTP_PROXY !== null) {
proxy = {
proxyType: 'manual',
httpProxy: process.env.http_proxy
httpProxy: process.env.HTTP_PROXY
}
}

0 comments on commit be32d52

Please sign in to comment.