src/config/index.js
function(name) {
  try {
    debug(`Loading ${name} configuration`);

    return waigo.load(`config/${name}`);
  } catch (e) {
    debug(`Error loading config: ${name}`);
    debug(e);

    return null;
  }
}
function(name) {
  try {
    debug(`Loading ${name} configuration`);

    return waigo.load(`config/${name}`);
  } catch (e) {
    debug(`Error loading config: ${name}`);
    debug(e);

    return null;
  }
}
function ( name ) { try { debug ( ` ${ name } ` ) ; return waigo . load ( ` ${ name } ` ) ; } catch ( e ) { debug ( ` ${ name } ` ) ; debug ( e ) ; return null ; } }
Load config module.
@param  {String} name Config module name.
@return {Function} `null` if module not found.
Load config module .