src/sassdoc.js
function onEmpty (data, env) {
  let message = `SassDoc could not find anything to document.\n
  * Are you still using \`/**\` comments ? They're no more supported since 2.0.
    See <http://sassdoc.com/upgrading/#c-style-comments>.\n`

  if (!data.length && env.verbose) {
    env.emit('warning', new errors.Warning(message))
  }
}
function onEmpty (data, env) {
  let message = `SassDoc could not find anything to document.\n
  * Are you still using \`/**\` comments ? They're no more supported since 2.0.
    See <http://sassdoc.com/upgrading/#c-style-comments>.\n`

  if (!data.length && env.verbose) {
    env.emit('warning', new errors.Warning(message))
  }
}
function onEmpty ( data , env ) { let message = ` \n \` \` \n ` if ( ! data . length && env . verbose ) { env . emit ( 'warning' , new errors . Warning ( message ) ) } }
Warn user on empty documentation.
@param {Array} data
@param {Object} env
Warn user on empty documentation .