Skip to content

Commit

Permalink
Fix message to be use prefix constant.
Browse files Browse the repository at this point in the history
  • Loading branch information
derekpierre committed Jul 18, 2024
1 parent b846722 commit a5ffe6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taco/src/conditions/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const plainStringSchema = z.string().refine(
return !str.startsWith(CONTEXT_PARAM_PREFIX);
},
{
message: 'String must not be a context parameter i.e. not start with ":"',
message: `String must not be a context parameter i.e. not start with "${CONTEXT_PARAM_PREFIX}"`,
},
);

Expand Down

0 comments on commit a5ffe6a

Please sign in to comment.