From f186e4e9801346b489f7892b4ae069ed850dfbce Mon Sep 17 00:00:00 2001 From: Jack Gilcrest Date: Mon, 23 Oct 2023 17:17:32 -0600 Subject: [PATCH] fix typo in error output and increment breaking change version in package.json for cli --- cli/package.json | 2 +- cli/src/cli.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/package.json b/cli/package.json index 36abff8..b331412 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "@the-word-pse/cli", - "version": "0.1.14", + "version": "0.2.0", "main": "index.js", "license": "MIT", "type": "module", diff --git a/cli/src/cli.ts b/cli/src/cli.ts index e18b806..6f43fea 100644 --- a/cli/src/cli.ts +++ b/cli/src/cli.ts @@ -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, "");