From 7c238fa854008bdcfbb1aa5201a57b2a523b24bb Mon Sep 17 00:00:00 2001 From: James George Date: Mon, 18 Sep 2023 06:49:51 -0700 Subject: [PATCH] chore(cli): update error message (#3363) --- packages/hoppscotch-cli/package.json | 2 +- packages/hoppscotch-cli/src/handlers/error.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/hoppscotch-cli/package.json b/packages/hoppscotch-cli/package.json index 039bdaed8..efcbf6bbc 100644 --- a/packages/hoppscotch-cli/package.json +++ b/packages/hoppscotch-cli/package.json @@ -1,6 +1,6 @@ { "name": "@hoppscotch/cli", - "version": "0.3.1", + "version": "0.3.2", "description": "A CLI to run Hoppscotch test scripts in CI environments.", "homepage": "https://hoppscotch.io", "main": "dist/index.js", diff --git a/packages/hoppscotch-cli/src/handlers/error.ts b/packages/hoppscotch-cli/src/handlers/error.ts index e89b6dfbc..18ac66b27 100644 --- a/packages/hoppscotch-cli/src/handlers/error.ts +++ b/packages/hoppscotch-cli/src/handlers/error.ts @@ -42,7 +42,7 @@ export const handleError = (error: HoppError) => { switch (error.code) { case "FILE_NOT_FOUND": - ERROR_MSG = `File doesn't exists: ${error.path}`; + ERROR_MSG = `File doesn't exist: ${error.path}`; break; case "UNKNOWN_COMMAND": ERROR_MSG = `Unavailable command: ${error.command}`;