@semantic-release/commit-analyzer
Advanced tools
Comparing version 6.3.1 to 6.3.2
11
index.js
@@ -33,3 +33,12 @@ const {isUndefined} = require('lodash'); | ||
filter( | ||
commits.map(({message, ...commitProps}) => ({rawMsg: message, message, ...commitProps, ...parser(message, config)})) | ||
commits | ||
.filter(({message, hash}) => { | ||
if (!message.trim()) { | ||
debug('Skip commit %s with empty message', hash); | ||
return false; | ||
} | ||
return true; | ||
}) | ||
.map(({message, ...commitProps}) => ({rawMsg: message, message, ...commitProps, ...parser(message, config)})) | ||
).every(({rawMsg, ...commit}) => { | ||
@@ -36,0 +45,0 @@ logger.log(`Analyzing commit: %s`, rawMsg); |
{ | ||
"name": "@semantic-release/commit-analyzer", | ||
"description": "semantic-release plugin to analyze commits with conventional-changelog", | ||
"version": "6.3.1", | ||
"version": "6.3.2", | ||
"author": "Pierre Vanduynslager (https://twitter.com/@pvdlg_)", | ||
@@ -6,0 +6,0 @@ "ava": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32411
238