Skip to content

Commit 43642c2

Browse files
committed
Download the jar/binary only if required
1 parent 00001ee commit 43642c2

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)