File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,6 @@ function LocalBinary(){
1717
1818 this . getDownloadPath = function ( ) {
1919 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- }
2320
2421 if ( this . hostOS . match ( / d a r w i n | m a c o s / i) ) {
2522 return sourceURL + 'BrowserStackLocal-darwin-x64' ;
@@ -146,7 +143,7 @@ function LocalBinary(){
146143 const contentEncoding = response . headers [ 'content-encoding' ] ;
147144 if ( typeof contentEncoding === 'string' && contentEncoding . match ( / g z i p / i) ) {
148145 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' ] ) ;
150147 }
151148
152149 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) {
3232 const contentEncoding = response . headers [ 'content-encoding' ] ;
3333 if ( typeof contentEncoding === 'string' && contentEncoding . match ( / g z i p / i) ) {
3434 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' ] ) ;
3636 }
3737
3838 response . pipe ( zlib . createGunzip ( ) ) . pipe ( fileStream ) ;
You can’t perform that action at this time.
0 commit comments