changelog.js
Function parseRawCommit
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var parseRawCommit = function(raw) {
if (!raw) return null;
var lines = raw.split('\n');
var msg = {}, match;
Function printSection
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var printSection = function(stream, title, section, printCommitLinks) {
printCommitLinks = printCommitLinks === undefined ? true : printCommitLinks;
var components = Object.getOwnPropertyNames(section).sort();
if (!components.length) return;
Function writeChangelog
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var writeChangelog = function(stream, commits, version) {
var sections = {
fix: {},
feat: {},
breaks: {}