Skip to content

Commit e3cfbad

Browse files
committed
refactor(patterns): Prepare for compression
1 parent c0919dc commit e3cfbad

File tree

4 files changed

+292
-160
lines changed

4 files changed

+292
-160
lines changed

packages/patterns/src/keys/checkKey.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ const checkKeyInternal = (val, check) => {
588588
}
589589
case 'error':
590590
case 'promise': {
591-
return check(false, X`A ${q(passStyle)} cannot be a key`);
591+
return check(false, X`A ${q(passStyle)} cannot be a key: ${val}`);
592592
}
593593
default: {
594594
// Unexpected tags are just non-keys, but an unexpected passStyle

0 commit comments

Comments
 (0)