fix: release script output

This commit is contained in:
John McLear 2021-02-07 19:27:10 +00:00
parent 2b112ac851
commit 865a463154

View file

@ -39,7 +39,7 @@ if (!newVersion) {
const changelogIncludesVersion = changelog.indexOf(newVersion) !== -1;
if (!changelogIncludesVersion) {
throw new Error('No changelog record for ', newVersion, ' - please create changelog record');
throw new Error(`No changelog record for ${newVersion}, please create changelog record`);
}
console.log('Okay looks good, lets create the package.json and package-lock.json');