mirror of
https://github.com/Mach-34/the-word.git
synced 2026-01-08 20:57:56 -05:00
fix typo in error output and increment breaking change version in package.json for cli
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@the-word-pse/cli",
|
||||
"version": "0.1.14",
|
||||
"version": "0.2.0",
|
||||
"main": "index.js",
|
||||
"license": "MIT",
|
||||
"type": "module",
|
||||
|
||||
@@ -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, "");
|
||||
|
||||
Reference in New Issue
Block a user