scripts/cherry-pick-commits.js
function shouldSkipCommit(logLine, mode) {
  const parsedCommit = parser.sync(logLine.message, parserOpts);
  return (parsedCommit.type === 'feat' && mode === 'patch') || // feature commit
    parsedCommit.notes.find((note) => note.title === 'BREAKING CHANGE') || // breaking change commit
    (parsedCommit.type === 'chore' && parsedCommit.subject === 'Publish'); // Publish (version-rev) commit
}
function shouldSkipCommit(logLine, mode) {
  const parsedCommit = parser.sync(logLine.message, parserOpts);
  return (parsedCommit.type === 'feat' && mode === 'patch') || // feature commit
    parsedCommit.notes.find((note) => note.title === 'BREAKING CHANGE') || // breaking change commit
    (parsedCommit.type === 'chore' && parsedCommit.subject === 'Publish'); // Publish (version-rev) commit
}
function shouldSkipCommit ( logLine , mode ) { const parsedCommit = parser . sync ( logLine . message , parserOpts ) ; return ( parsedCommit . type === 'feat' && mode === 'patch' ) || // feature commit parsedCommit . notes . find ( ( note ) => note . title === 'BREAKING CHANGE' ) || // breaking change commit ( parsedCommit . type === 'chore' && parsedCommit . subject === 'Publish' ) ; // Publish (version-rev) commit }
Returns true if commit should NOT be cherry-picked.
Returns true if commit should NOT be cherry - picked .