<commit_before>import Promise from "bluebird"
import {pipeP, tap} from "ramda"
import {bufferToStr} from "./utils"
import {readPactJsonFile, parsePactJsonContract} from "./get-pact-file"
import { createPactHelperFromContract,
 writePactHelperFile} from "./create-pact-helper"

export default function () {
  return pipeP(
    readPactJsonFile,
    bufferToStr,
    parsePactJsonContract,
    createPactHelperFromContract,
    writePactHelperFile
  )()
  .catch((err) => {
    console.log(err.stack)
  })
}<commit_msg>Remove unnecessary promise catch<commit_after>import Promise from "bluebird"
import {pipeP, tap} from "ramda"
import {bufferToStr} from "./utils"
import {readPactJsonFile, parsePactJsonContract} from "./get-pact-file"
import { createPactHelperFromContract,
 writePactHelperFile} from "./create-pact-helper"

export default function () {
  return pipeP(
    readPactJsonFile,
    bufferToStr,
    parsePactJsonContract,
    createPactHelperFromContract,
    writePactHelperFile
  )()
}
{'fraction_non_alphanumeric': 0.1048951048951049, 'fraction_numerical': 0.0, 'mean_word_length': 5.036144578313253, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '397959', 'n_tokens_mistral': 318, 'n_tokens_neox': 316, 'n_words': 71}