lib/index.js
function getResolvedPath(options, type = 'html') {
  const explicitPathKey = `${ type }Path`

  if (options[explicitPathKey]) {
    return path.resolve(options[explicitPathKey])
  }

  return path.resolve(options.outputDir, `${ options.fontName }.${ type }`)
}
function getResolvedPath(options, type = 'html') {
  const explicitPathKey = `${ type }Path`

  if (options[explicitPathKey]) {
    return path.resolve(options[explicitPathKey])
  }

  return path.resolve(options.outputDir, `${ options.fontName }.${ type }`)
}
function getResolvedPath ( options , type = 'html' ) { const explicitPathKey = ` ${ type } ` if ( options [ explicitPathKey ] ) { return path . resolve ( options [ explicitPathKey ] ) } return path . resolve ( options . outputDir , ` ${ options . fontName } ${ type } ` ) }
Assume the absolute path at which the file of given type should be written

@param  {Object} options
@param  {?String} type
@return {void}
Assume the absolute path at which the file of given type should be written