lib/di.js
function _requireFile(requirable, directory) {
    var required;
    try{
      var res = resolve.sync(requirable, { basedir: directory});
      required = require(res);
    }
    catch(err) {
      required = (void 0);
    }
    return required;
  }
function _requireFile(requirable, directory) {
    var required;
    try{
      var res = resolve.sync(requirable, { basedir: directory});
      required = require(res);
    }
    catch(err) {
      required = (void 0);
    }
    return required;
  }
function _requireFile ( requirable , directory ) { var required ; try { var res = resolve . sync ( requirable , { basedir : directory } ) ; required = require ( res ) ; } catch ( err ) { required = ( void 0 ) ; } return required ; }
Attempt to fetch the supplied filename, no exceptions on fail
@private
@param {string} requirable to try and require
@param {string} [directory] - directory to attempt resolving filename path with
@returns {*} the result of the require, undefined if not found
Attempt to fetch the supplied filename no exceptions on fail