function getCosmiConfig() {
  try {
    const config = require(configPath);

    if (typeof config === 'object' && typeof config.iopipe === 'object') {
      return config.iopipe;
    }
  } catch (err) {
    Function.prototype; // noop
  }

  return {};
}
function getCosmiConfig() {
  try {
    const config = require(configPath);

    if (typeof config === 'object' && typeof config.iopipe === 'object') {
      return config.iopipe;
    }
  } catch (err) {
    Function.prototype; 
  }

  return {};
}
function getCosmiConfig ( ) { try { const config = require ( configPath ) ; if ( typeof config === 'object' && typeof config . iopipe === 'object' ) { return config . iopipe ; } } catch ( err ) { Function . prototype ; // noop } return { } ; }
/*eslint-disable import/no-dynamic-require
/ * eslint - disable import / no - dynamic - require