<commit_before>import * as Mustache from 'mustache'

const handleNewTag = (tagName: string, pusherName: string): void => {
  console.log(`${pusherName} pushed new tag ${tagName}`)
  const template = process.env['TWEETText_MUSTACHE_TEMPLATE']
  const tweetText = Mustache.render(template, {tagName, pusherName})
  console.log(`TweetTexting '${tweetText}'`)
}

const eventHandler = (event, repoName, data) => {
  console.log("Received event", event, repoName)
  if (event === 'create' && data.ref_type === 'tag') {
    const tagName: string = data.ref
    const pusherName: string = data.sender.login
    handleNewTag(tagName, pusherName)
  }
}

export default eventHandler
<commit_msg>Typo.<commit_after>import * as Mustache from 'mustache'

const handleNewTag = (tagName: string, pusherName: string): void => {
  console.log(`${pusherName} pushed new tag ${tagName}`)
  const template = process.env['TWEET_MUSTACHE_TEMPLATE']
  const tweetText = Mustache.render(template, {tagName, pusherName})
  console.log(`TweetTexting '${tweetText}'`)
}

const eventHandler = (event, repoName, data) => {
  console.log("Received event", event, repoName)
  if (event === 'create' && data.ref_type === 'tag') {
    const tagName: string = data.ref
    const pusherName: string = data.sender.login
    handleNewTag(tagName, pusherName)
  }
}

export default eventHandler

{'fraction_non_alphanumeric': 0.14085545722713863, 'fraction_numerical': 0.0, 'mean_word_length': 5.112612612612613, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '3784683', 'n_tokens_mistral': 445, 'n_tokens_neox': 446, 'n_words': 108}