Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed Jan 23, 2024
1 parent a8bbff7 commit 848c43d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compat/json_style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function numberFn(obj: any): (z: number, f?: Feature) => number {
} else if (
obj[0] === "interpolate" &&
obj[1][0] === "exponential" &&
obj[2] === "zoom"
obj[2] === ["zoom"]
) {
const slice = obj.slice(3);
const stops: number[][] = [];
Expand Down

0 comments on commit 848c43d

Please sign in to comment.