diff --git a/src/validateTitle.js b/src/validateTitle.js index c4f135d3..d2d75636 100644 --- a/src/validateTitle.js +++ b/src/validateTitle.js @@ -16,7 +16,7 @@ module.exports = async function validateTitle(preset, title) { if (!result.type) { throw new Error( `No release type found in pull request title "${title}". The title should match the commit message format as specified by https://www.conventionalcommits.org/. The functionalities can also be altered by the selected preset plugin (${preset}). ` + - `\n\nPlease see the parse result: ${result}.` + `\n\nPlease see the parse result: ${JSON.stringify(result)}.` ); } };