<commit_before>'use strict'

const template = require('../../../lib/utilities/template')
// const replace = require('../../../lib/utilities/replace')
const log = require('../../../lib/utilities/log')

module.exports = name => {
  const exists = template.exists('component')
  if (!exists) return log.failure('The template file component doesn\'t exists.')

  const file = template.read('component')
  if (!file.length) return log.failure('Failed to load the template file.')

  log.success(`The component was generated.`)
}<commit_msg>The library will be rewrited.<commit_after>'use strict'

const log = require('../../../lib/utilities/log')

module.exports = name => {
  log.success(`The component ${name} was generated.`)
}
{'fraction_non_alphanumeric': 0.1889655172413793, 'fraction_numerical': 0.0, 'mean_word_length': 3.84, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6621231', 'n_tokens_mistral': 207, 'n_tokens_neox': 203, 'n_words': 57}