We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7019a3 commit 3b745cdCopy full SHA for 3b745cd
lib/LocalBinary.js
@@ -20,12 +20,6 @@ function LocalBinary(){
20
this.httpPath = 'https://s3.amazonaws.com/bs-automate-prod/local/BrowserStackLocal-linux-ia32';
21
}
22
23
- this.orderedPaths = [
24
- path.join(this.homedir(), '.browserstack'),
25
- process.cwd(),
26
- os.tmpdir()
27
- ];
28
-
29
this.download = function(destParentDir, callback){
30
if(!this.checkPath(destParentDir))
31
fs.mkdirSync(path);
@@ -103,7 +97,13 @@ function LocalBinary(){
103
97
104
98
105
99
return home || null;
106
- }
100
+ };
101
+
102
+ this.orderedPaths = [
+ path.join(this.homedir(), '.browserstack'),
+ process.cwd(),
+ os.tmpdir()
+ ];
107
108
109
module.exports = LocalBinary;
0 commit comments