code: function createBitbucketEnterpriseCommitLink () {
    const pkg = require(process.cwd() + '/package')
    const repository = pkg.repository.url
  
    return function (commit) {
      const commitStr = commit.substring(0,8)
      return repository ?
        `[${commitStr}](${repository}/commits/${commitStr})` :
        commitStr
    }
  }
docs: changelog module.
  @module lib/changelog