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 Aug 14, 2024
1 parent bec206b commit bd279f6
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 bd279f6

Please sign in to comment.