* @param {Map } commitsMap - commit map from collectCommitsAsMap * @returns {string[]} List of commits with commit messages that start with 'feat'
(commitsMap)
| 123 | * @returns {string[]} List of commits with commit messages that start with 'feat' |
| 124 | */ |
| 125 | function listFeatures(commitsMap) { |
| 126 | return Array.from(commitsMap.keys()).reduce((result, key) => { |
| 127 | if (key.startsWith('feat') && !shouldIgnoreCommit(key, ignoreFeatureCheckPatterns)) { |
| 128 | const value = commitsMap.get(key); |
| 129 | result.push(getCommitInfoAsString(value[1], value[0])); |
| 130 | } |
| 131 | return result; |
| 132 | }, []); |
| 133 | } |
| 134 | |
| 135 | function getBranchByTag(tag) { |
| 136 | const version = semver.parse(tag); |
no test coverage detected
searching dependent graphs…