Skip to content

Commit 7c42f56

Browse files
committed
refactor(patterns): Prepare for compression
1 parent f845665 commit 7c42f56

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
@@ -583,7 +583,7 @@ const checkKeyInternal = (val, check) => {
583583
}
584584
case 'error':
585585
case 'promise': {
586-
return check(false, X`A ${q(passStyle)} cannot be a key`);
586+
return check(false, X`A ${q(passStyle)} cannot be a key: ${val}`);
587587
}
588588
default: {
589589
// Unexpected tags are just non-keys, but an unexpected passStyle

0 commit comments

Comments
 (0)