From c03e76b91d833ec9b6f7f17b1b8f26fca83a99e7 Mon Sep 17 00:00:00 2001 From: John McLear Date: Sun, 7 Feb 2021 19:27:10 +0000 Subject: [PATCH] fix: release script output --- src/bin/release.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/release.js b/src/bin/release.js index 21f1ddbc2..42178caa9 100644 --- a/src/bin/release.js +++ b/src/bin/release.js @@ -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');