Permalink
Browse files

Linting merge

  • Loading branch information...
1 parent 15de690 commit 7546293ccbfbe9a9f1a7dface7c6e84b3a3a505a @bermi committed Jan 15, 2013
Showing with 4 additions and 3 deletions.
  1. +4 −3 lib/sauce-connect-launcher.js
View
7 lib/sauce-connect-launcher.js
@@ -101,13 +101,14 @@ function download(options, callback) {
function run(options, callback) {
logger("Opening local tunnel using Sauce Connect");
- var args = ["-jar", jarfile, options.username, options.accessKey];
+ var child,
+ args = ["-jar", jarfile, options.username, options.accessKey];
- if(options.port){
+ if (options.port) {
args.push("-P", options.port);
}
- var child = spawn("java", args);
+ child = spawn("java", args);
child.stdout.on("data", function (data) {
var connectingText = 'Please wait for "You may start your tests" to start your tests',
readyText = "Connected! You may start your tests",

0 comments on commit 7546293

Please sign in to comment.