lib/index.js
function getOutputFile(options) {
  var outFile = options.outFile;

  if (!outFile || typeof outFile !== 'string' || (!options.data && !options.file)) {
    return null;
  }

  return path.resolve(outFile);
}
function getOutputFile(options) {
  var outFile = options.outFile;

  if (!outFile || typeof outFile !== 'string' || (!options.data && !options.file)) {
    return null;
  }

  return path.resolve(outFile);
}
function getOutputFile ( options ) { var outFile = options . outFile ; if ( ! outFile || typeof outFile !== 'string' || ( ! options . data && ! options . file ) ) { return null ; } return path . resolve ( outFile ) ; }
Get output file

@param {Object} options
@api private
Get output file