chore(cli): update error message (#3363)

This commit is contained in:
James George
2023-09-18 06:49:51 -07:00
committed by GitHub
parent 185b575e5b
commit 7c238fa854
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "@hoppscotch/cli", "name": "@hoppscotch/cli",
"version": "0.3.1", "version": "0.3.2",
"description": "A CLI to run Hoppscotch test scripts in CI environments.", "description": "A CLI to run Hoppscotch test scripts in CI environments.",
"homepage": "https://hoppscotch.io", "homepage": "https://hoppscotch.io",
"main": "dist/index.js", "main": "dist/index.js",

View File

@@ -42,7 +42,7 @@ export const handleError = <T extends HoppErrorCode>(error: HoppError<T>) => {
switch (error.code) { switch (error.code) {
case "FILE_NOT_FOUND": case "FILE_NOT_FOUND":
ERROR_MSG = `File doesn't exists: ${error.path}`; ERROR_MSG = `File doesn't exist: ${error.path}`;
break; break;
case "UNKNOWN_COMMAND": case "UNKNOWN_COMMAND":
ERROR_MSG = `Unavailable command: ${error.command}`; ERROR_MSG = `Unavailable command: ${error.command}`;