Skip to content

Commit

Permalink
fix: log correct property name (vega#8140)
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz authored and BradyJ27 committed Oct 19, 2023
1 parent d6d0d5d commit c812181
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 c812181

Please sign in to comment.