Skip to content

Commit

Permalink
Linting merge
Browse files Browse the repository at this point in the history
  • Loading branch information
bermi committed Jan 15, 2013
1 parent 15de690 commit 7546293
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/sauce-connect-launcher.js
Expand Up @@ -101,13 +101,14 @@ function download(options, callback) {


function run(options, callback) { function run(options, callback) {
logger("Opening local tunnel using Sauce Connect"); 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); args.push("-P", options.port);
} }


var child = spawn("java", args); child = spawn("java", args);
child.stdout.on("data", function (data) { child.stdout.on("data", function (data) {
var connectingText = 'Please wait for "You may start your tests" to start your tests', var connectingText = 'Please wait for "You may start your tests" to start your tests',
readyText = "Connected! You may start your tests", readyText = "Connected! You may start your tests",
Expand Down

0 comments on commit 7546293

Please sign in to comment.