Skip to content

Commit 0a983b3

Browse files
committed
Merge pull request #48 from browserstack/local_file
Download the jar/binary only if required
2 parents 00001ee + 43642c2 commit 0a983b3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/local.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,8 @@ var Tunnel = function Tunnel(key, port, uniqueIdentifier, callback, err) {
6262

6363
fs.exists(localBinary, function(exists) {
6464
if (exists) {
65-
fs.unlinkSync(localBinary);
66-
// tunnelLauncher();
67-
// return;
65+
tunnelLauncher();
66+
return;
6867
}
6968
console.log('Downloading BrowserStack Local to `%s`', localBinary);
7069

0 commit comments

Comments
 (0)