lib/actions.js
function (apporplugin) {
    try {
      configHelpers.disable(apporplugin);
      logger.info(apporplugin + ' disabled');
    } catch (err) {
      logger.error(
        'Cannot disable given app or plugin, ' +
        apporplugin +
        ' cannot find it in the config file.');
      logger.raw(err);
    }
  }
function (apporplugin) {
    try {
      configHelpers.disable(apporplugin);
      logger.info(apporplugin + ' disabled');
    } catch (err) {
      logger.error(
        'Cannot disable given app or plugin, ' +
        apporplugin +
        ' cannot find it in the config file.');
      logger.raw(err);
    }
  }
function ( apporplugin ) { try { configHelpers . disable ( apporplugin ) ; logger . info ( apporplugin + ' disabled' ) ; } catch ( err ) { logger . error ( 'Cannot disable given app or plugin, ' + apporplugin + ' cannot find it in the config file.' ) ; logger . raw ( err ) ; } }
Mark given app or plugin as disabled. It won't be activated or started
in that case.
Mark given app or plugin as disabled . It won t be activated or started in that case .