lib/index.js
function logReport(options) {
  const { outputDir, fontName } = options

  // Log font files output
  for (let ext of options.types) { logOutput(options, [ outputDir, `${ fontName }.${ ext }` ]) }

  // Log HTML file output
  if (options.html) {
    logOutput(options, [ getResolvedPath(options, 'html') ])
  }

  // Log CSS file output
  if (options.css) {
    logOutput(options, [ getResolvedPath(options, 'css') ])
  }

  // Log JSON map output
  if (options.json) {
    logOutput(options, [ getResolvedPath(options, 'json') ])
  }

  // Log final message
  log(options, 'Done'.green)
}
function logReport(options) {
  const { outputDir, fontName } = options

  // Log font files output
  for (let ext of options.types) { logOutput(options, [ outputDir, `${ fontName }.${ ext }` ]) }

  // Log HTML file output
  if (options.html) {
    logOutput(options, [ getResolvedPath(options, 'html') ])
  }

  // Log CSS file output
  if (options.css) {
    logOutput(options, [ getResolvedPath(options, 'css') ])
  }

  // Log JSON map output
  if (options.json) {
    logOutput(options, [ getResolvedPath(options, 'json') ])
  }

  // Log final message
  log(options, 'Done'.green)
}
function logReport ( options ) { const { outputDir , fontName } = options // Log font files output for ( let ext of options . types ) { logOutput ( options , [ outputDir , ` ${ fontName } ${ ext } ` ] ) } // Log HTML file output if ( options . html ) { logOutput ( options , [ getResolvedPath ( options , 'html' ) ] ) } // Log CSS file output if ( options . css ) { logOutput ( options , [ getResolvedPath ( options , 'css' ) ] ) } // Log JSON map output if ( options . json ) { logOutput ( options , [ getResolvedPath ( options , 'json' ) ] ) } // Log final message log ( options , 'Done' . green ) }
Log report with all generated files and completion message

@param  {Object} options
@return {void}
Log report with all generated files and completion message