Skip to content

Commit

Permalink
Merge 63df2c6 into 55256c9
Browse files Browse the repository at this point in the history
  • Loading branch information
teodragovic committed Jan 28, 2020
2 parents 55256c9 + 63df2c6 commit 3d9e03f
Show file tree
Hide file tree
Showing 3 changed files with 2,501 additions and 3 deletions.
10 changes: 7 additions & 3 deletions lib/writer.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
'use strict';

var Bluebird = require('bluebird');
var pkg = require('../package.json');
var Bluebird = require('bluebird');
var cosmiconfigSync = require('cosmiconfig').cosmiconfigSync;

var config = cosmiconfigSync(pkg.name).search() || {};

var DEFAULT_TYPE = 'other';
var PR_REGEX = new RegExp(/#[1-9][\d]*/g);
var TYPES = {
var TYPES = Object.assign({
breaking: 'Breaking Changes',
build: 'Build System / Dependencies',
ci: 'Continuous Integration',
Expand All @@ -18,7 +22,7 @@ var TYPES = {
revert: 'Reverts',
style: 'Code Style Changes',
test: 'Tests'
};
}, config.types);

/**
* Generate the commit URL for the repository provider.
Expand Down
Loading

0 comments on commit 3d9e03f

Please sign in to comment.