Skip to content

Commit

Permalink
fix: log correct property name (#8140)
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed May 4, 2022
1 parent e5559b3 commit 7787ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scale.ts
Expand Up @@ -811,7 +811,7 @@ export function channelScalePropertyIncompatability(channel: Channel, propName:
case 'scheme':
case 'domainMid':
if (!isColorChannel(channel)) {
return log.message.cannotUseScalePropertyWithNonColor(channel);
return log.message.cannotUseScalePropertyWithNonColor(propName);
}
return undefined;
case 'align':
Expand Down

0 comments on commit 7787ee2

Please sign in to comment.