fix typo in error output and increment breaking change version in package.json for cli

This commit is contained in:
Jack Gilcrest
2023-10-23 17:17:32 -06:00
parent 3085c51dda
commit f186e4e980
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@the-word-pse/cli",
"version": "0.1.14",
"version": "0.2.0",
"main": "index.js",
"license": "MIT",
"type": "module",

View File

@@ -260,7 +260,7 @@ async function whisper(round: string, phrase: string, username: string) {
// response
console.log("=====================================")
if (res.status != 201) {
console.log(`${chalk.red("ERROR: ")} ${await res.text()}}`);
console.log(`${chalk.red("ERROR: ")} ${await res.text()}`);
} else {
// write proof to file
const pwd = execSync('pwd').toString().replace(/(\r\n|\n|\r)/gm, "");