Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
chore(cli): update error message (#3363)
James George7c238fa85400
diff --git a/packages/hoppscotch-cli/package.json b/packages/hoppscotch-cli/package.jsonindex 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.tsindex 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 = <T extends HoppErrorCode>(error: HoppError<T>) => {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}`;