log out an error when we can't parse version frontmatter
This commit is contained in:
@@ -112,7 +112,11 @@ for (const file of articleFiles) {
|
||||
prodCell += '<br>'
|
||||
}
|
||||
}
|
||||
} catch (e) {}
|
||||
} catch (e) {
|
||||
console.error(
|
||||
`Version information for ${file.filename} couldn't be determined from its frontmatter.`
|
||||
)
|
||||
}
|
||||
markdownTable += `| ${contentCell} | ${previewCell} | ${prodCell} | |\n`
|
||||
}
|
||||
setOutput('changesTable', markdownTable)
|
||||
|
||||
Reference in New Issue
Block a user