Skip to content

Commit ad3e3de

Browse files
authored
Merge pull request #62 from browserstack/fix-folder-flg
Fix argument order sent via command line to browserstack local binary.
2 parents b077a8f + 5a5a32a commit ad3e3de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Local.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,12 +199,12 @@ function Local(){
199199

200200
this.getBinaryArgs = function(){
201201
var args = ['--daemon', this.opcode, '--log-file', this.logfile];
202-
if(this.folderFlag)
203-
args.push(this.folderFlag);
204202
if(this.key) {
205203
args.push('--key');
206204
args.push(this.key);
207205
}
206+
if(this.folderFlag)
207+
args.push(this.folderFlag);
208208
if(this.folderPath)
209209
args.push(this.folderPath);
210210
if(this.forceLocalFlag)

0 commit comments

Comments
 (0)