index.js
function applicableMessages(messages, options) {
  var length = messages.length
  var index = -1
  var result = []

  if (options.silent) {
    while (++index < length) {
      if (messages[index].fatal) {
        result.push(messages[index])
      }
    }
  } else {
    result = messages.concat()
  }

  return result
}
function applicableMessages(messages, options) {
  var length = messages.length
  var index = -1
  var result = []

  if (options.silent) {
    while (++index < length) {
      if (messages[index].fatal) {
        result.push(messages[index])
      }
    }
  } else {
    result = messages.concat()
  }

  return result
}
function applicableMessages ( messages , options ) { var length = messages . length var index = - 1 var result = [ ] if ( options . silent ) { while ( ++ index < length ) { if ( messages [ index ] . fatal ) { result . push ( messages [ index ] ) } } } else { result = messages . concat ( ) } return result }
Get applicable messages.
Get applicable messages .