build/releasing/customRenderers.ts
Function _getPrNumber
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async function _getPrNumber(entry: ChangelogEntry): Promise<number | undefined> {
// Look for (presumably) the PR number at the end of the first line of the commit
try {
// Get the actual commit message which should contain the PR number
const logResult = spawnSync("git", [