Skip to content

Commit

Permalink
MAT-7998 remove unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
sb-cecilialiu committed Dec 23, 2024
1 parent 884d8c7 commit 1c60c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/CustomeErrorConverter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const convertCustomError = (errorMessage: string): string => {
}
default: {
const findKeyword = errorMessage
?.replace(/'/g, "")
.replace(/'/g, "")
.replace("no viable alternative at input define ", "");
if (findKeyword && keyWords.find((kword) => findKeyword === kword)) {
convertedMsg = "Definition names must not be a reserved word.";
Expand Down

0 comments on commit 1c60c65

Please sign in to comment.