lib/deploy.js
function updateStatus(evType, opts) {
    var t2 = new Date()
    var elapsed = (t2.getTime() - t1.getTime()) / 1000
    var msg = {
      timeElapsed:elapsed,
      stdout: opts.stdout || "",
      stderr: opts.stderr || "",
      stdmerged: opts.stdmerged || "",
      info: opts.info,
      step: opts.step,
      deployExitCode: null,
      url: null || opts.url,
    }
    if (opts.deployExitCode !== undefined) {
      msg.deployExitCode = opts.deployExitCode
    }

    emitter.emit(evType, msg)
  }
function updateStatus(evType, opts) {
    var t2 = new Date()
    var elapsed = (t2.getTime() - t1.getTime()) / 1000
    var msg = {
      timeElapsed:elapsed,
      stdout: opts.stdout || "",
      stderr: opts.stderr || "",
      stdmerged: opts.stdmerged || "",
      info: opts.info,
      step: opts.step,
      deployExitCode: null,
      url: null || opts.url,
    }
    if (opts.deployExitCode !== undefined) {
      msg.deployExitCode = opts.deployExitCode
    }

    emitter.emit(evType, msg)
  }
function updateStatus ( evType , opts ) { var t2 = new Date ( ) var elapsed = ( t2 . getTime ( ) - t1 . getTime ( ) ) / 1000 var msg = { timeElapsed : elapsed , stdout : opts . stdout || "" , stderr : opts . stderr || "" , stdmerged : opts . stdmerged || "" , info : opts . info , step : opts . step , deployExitCode : null , url : null || opts . url , } if ( opts . deployExitCode !== undefined ) { msg . deployExitCode = opts . deployExitCode } emitter . emit ( evType , msg ) }
Emit a status update event. This can result in data being sent to the user's browser in realtime via socket.io.
Emit a status update event . This can result in data being sent to the user s browser in realtime via socket . io .