File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -12,17 +12,16 @@ function LocalBinary(){
1212 this . is64bits = process . arch == 'x64' ;
1313
1414 this . getDownloadPath = function ( ) {
15- var that = this ;
16- if ( that . hostOS . match ( / d a r w i n | m a c o s / i) ) {
15+ if ( this . hostOS . match ( / d a r w i n | m a c o s / i) ) {
1716 return 'https://s3.amazonaws.com/bstack-local-prod/BrowserStackLocal-darwin-x64' ;
18- } else if ( that . hostOS . match ( / m s w i n | m s y s | m i n g w | c y g w i n | b c c w i n | w i n c e | e m c | w i n 3 2 / i) ) {
19- that . windows = true ;
17+ } else if ( this . hostOS . match ( / m s w i n | m s y s | m i n g w | c y g w i n | b c c w i n | w i n c e | e m c | w i n 3 2 / i) ) {
18+ this . windows = true ;
2019 return 'https://s3.amazonaws.com/bstack-local-prod/BrowserStackLocal.exe' ;
2120 } else {
22- if ( that . isAlpine ( ) ) {
21+ if ( this . isAlpine ( ) ) {
2322 return 'https://s3.amazonaws.com/bstack-local-prod/BrowserStackLocal-alpine' ;
2423 } else {
25- if ( that . is64bits )
24+ if ( this . is64bits )
2625 return 'https://s3.amazonaws.com/bstack-local-prod/BrowserStackLocal-linux-x64' ;
2726 else
2827 return 'https://s3.amazonaws.com/bstack-local-prod/BrowserStackLocal-linux-ia32' ;
You can’t perform that action at this time.
0 commit comments