lib/localExecutor.js
function(mode, targetHost, system, containerDef, container, out, cb) {
    if (container.specific && container.specific.dockerContainerId) {
      var stopCmd = commands.kill.replace('__TARGETID__', container.specific.dockerContainerId);
      executor.exec(mode, stopCmd, config.imageCachePath, out, function(err) {
        out.preview({cmd: stopCmd, host: 'localhost'});
        if (err && err.code !== 2) { cb(err); } else { cb(); }
      });
    }
    else {
      cb();
    }
  }
function(mode, targetHost, system, containerDef, container, out, cb) {
    if (container.specific && container.specific.dockerContainerId) {
      var stopCmd = commands.kill.replace('__TARGETID__', container.specific.dockerContainerId);
      executor.exec(mode, stopCmd, config.imageCachePath, out, function(err) {
        out.preview({cmd: stopCmd, host: 'localhost'});
        if (err && err.code !== 2) { cb(err); } else { cb(); }
      });
    }
    else {
      cb();
    }
  }
function ( mode , targetHost , system , containerDef , container , out , cb ) { if ( container . specific && container . specific . dockerContainerId ) { var stopCmd = commands . kill . replace ( '__TARGETID__' , container . specific . dockerContainerId ) ; executor . exec ( mode , stopCmd , config . imageCachePath , out , function ( err ) { out . preview ( { cmd : stopCmd , host : 'localhost' } ) ; if ( err && err . code !== 2 ) { cb ( err ) ; } else { cb ( ) ; } } ) ; } else { cb ( ) ; } }
stop needs to
stop needs to