Skip to content

Commit

Permalink
chore: update CLI error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 committed Sep 17, 2023
1 parent f34d896 commit 6a35f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/hoppscotch-cli/src/handlers/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
Expand Down

0 comments on commit 6a35f6d

Please sign in to comment.