adrfunc/adr-utils.js
Function createNewAdr
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createNewAdr (adrAttr, adrPath, adrTemplatePath, useTimestampPrefix) {
logger.vsLog(
`create new adr ${adrAttr.srcAdrName} in ${adrPath} from templatepath ${adrTemplatePath} useTimstampForFilePrefix: ${useTimestampPrefix} `
)
const prefix = getPrefix(adrPath, useTimestampPrefix)