lib/changelog.js
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
  }
}
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
  }
}
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 } ${ commitStr } ` : commitStr } }
changelog module.
@module lib/changelog
changelog module .