index.js
function getPath() {
  var p = info && info.config ? info.config : './config'
  if (p.charAt(0) === '/') return p
  return path.join(base, p)
}
function getPath() {
  var p = info && info.config ? info.config : './config'
  if (p.charAt(0) === '/') return p
  return path.join(base, p)
}
function getPath ( ) { var p = info && info . config ? info . config : './config' if ( p . charAt ( 0 ) === '/' ) return p return path . join ( base , p ) }
Determine the directory config from `package.info`, can
be relative to the project base or an absolute path

@returns {String} directory
Determine the directory config from package . info can be relative to the project base or an absolute path