File tree 2 files changed +2
-5
lines changed
2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,6 @@ function LocalBinary(){
17
17
18
18
this . getDownloadPath = function ( ) {
19
19
let sourceURL = 'https://www.browserstack.com/local-testing/downloads/binaries/' ;
20
- if ( process . env . BROWSERSTACK_LOCAL_BIN_URL ) {
21
- sourceURL = process . env . BROWSERSTACK_LOCAL_BIN_URL ;
22
- }
23
20
24
21
if ( this . hostOS . match ( / d a r w i n | m a c o s / i) ) {
25
22
return sourceURL + 'BrowserStackLocal-darwin-x64' ;
@@ -146,7 +143,7 @@ function LocalBinary(){
146
143
const contentEncoding = response . headers [ 'content-encoding' ] ;
147
144
if ( typeof contentEncoding === 'string' && contentEncoding . match ( / g z i p / i) ) {
148
145
if ( process . env . BROWSERSTACK_LOCAL_DEBUG_GZIP ) {
149
- console . info ( 'using gzip in ' + options . headers [ 'user-agent' ] ) ;
146
+ console . info ( 'Using gzip in ' + options . headers [ 'user-agent' ] ) ;
150
147
}
151
148
152
149
response . pipe ( zlib . createGunzip ( ) ) . pipe ( fileStream ) ;
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ https.get(options, function (response) {
32
32
const contentEncoding = response . headers [ 'content-encoding' ] ;
33
33
if ( typeof contentEncoding === 'string' && contentEncoding . match ( / g z i p / i) ) {
34
34
if ( process . env . BROWSERSTACK_LOCAL_DEBUG_GZIP ) {
35
- console . info ( 'using gzip in ' + options . headers [ 'user-agent' ] ) ;
35
+ console . info ( 'Using gzip in ' + options . headers [ 'user-agent' ] ) ;
36
36
}
37
37
38
38
response . pipe ( zlib . createGunzip ( ) ) . pipe ( fileStream ) ;
You can’t perform that action at this time.
0 commit comments