fix: release script output

release-script-version
John McLear 2021-02-07 19:27:10 +00:00
parent 2b112ac851
commit c03e76b91d
1 changed files with 1 additions and 1 deletions

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');