diff --git a/scripts/release/publish-commands/publish-to-npm.js b/scripts/release/publish-commands/publish-to-npm.js index 34237765f7..1c5e183dca 100644 --- a/scripts/release/publish-commands/publish-to-npm.js +++ b/scripts/release/publish-commands/publish-to-npm.js @@ -39,8 +39,8 @@ const push = async ({cwd, dry, version}) => { // To better handle the case of pre-release versions. if (remoteVersion !== packageVersion) { throw Error( - chalk`Publised version {yellow.bold ${packageVersion}} for ` + - `{bold ${project}} but NPM shows {yellow.bold ${remoteVersion}}` + chalk`Published version {yellow.bold ${packageVersion}} for ` + + chalk`{bold ${project}} but NPM shows {yellow.bold ${remoteVersion}}` ); }