@samitouri / QOS-React / commits / 0bd2c2bb3d

Fix error reporting in release script

Dan Abramov committed Nov 7, 2017 at 15:03 UTC 0bd2c2bb3d93adcfebdff6bbc3ad3d338b79c42a
1 file changed +2 -2
scripts/release/publish-commands/publish-to-npm.js
+2 -2
@@ -39,8 +39,8 @@ const push = async ({cwd, dry, version}) => {
39 // To better handle the case of pre-release versions.
40 if (remoteVersion !== packageVersion) {
41 throw Error(
42 - chalk`Publised version {yellow.bold ${packageVersion}} for ` +
43 - `{bold ${project}} but NPM shows {yellow.bold ${remoteVersion}}`
42 + chalk`Published version {yellow.bold ${packageVersion}} for ` +
43 + chalk`{bold ${project}} but NPM shows {yellow.bold ${remoteVersion}}`
44 );
45 }
46