Skip to content

Commit

Permalink
refactor(patterns): Prepare for compression
Browse files Browse the repository at this point in the history
  • Loading branch information
erights committed Jun 22, 2024
1 parent 7467efa commit f013614
Show file tree
Hide file tree
Showing 4 changed files with 292 additions and 160 deletions.
2 changes: 1 addition & 1 deletion packages/patterns/src/keys/checkKey.js
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ const checkKeyInternal = (val, check) => {
}
case 'error':
case 'promise': {
return check(false, X`A ${q(passStyle)} cannot be a key`);
return check(false, X`A ${q(passStyle)} cannot be a key: ${val}`);
}
default: {
// Unexpected tags are just non-keys, but an unexpected passStyle
Expand Down
Loading

0 comments on commit f013614

Please sign in to comment.