Skip to content

Commit 71a2e22

Browse files
committed
cleanup
1 parent 636002c commit 71a2e22

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/validate/validate_projection.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ interface ValidateProjectionOptions {
1414
export default function validateProjection(options: ValidateProjectionOptions) {
1515
const projection = options.value;
1616
const styleSpec = options.styleSpec;
17-
const projSpec = styleSpec.projection;
17+
const projectionSpec = styleSpec.projection;
1818
const style = options.style;
1919

2020
const rootType = getType(projection);
@@ -26,11 +26,11 @@ export default function validateProjection(options: ValidateProjectionOptions) {
2626

2727
let errors = [];
2828
for (const key in projection) {
29-
if (projSpec[key]) {
29+
if (projectionSpec[key]) {
3030
errors = errors.concat(options.validateSpec({
3131
key,
3232
value: projection[key],
33-
valueSpec: projSpec[key],
33+
valueSpec: projectionSpec[key],
3434
style,
3535
styleSpec
3636
}));

0 commit comments

Comments
 (0)