mirror of
https://github.com/maputnik/editor.git
synced 2026-08-27 07:27:33 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -64,4 +64,4 @@ describe("json-path-to-position", () => {
|
|||||||
const node = jsonPathToPosition(["id"], ast);
|
const node = jsonPathToPosition(["id"], ast);
|
||||||
expect(node).toBe(undefined);
|
expect(node).toBe(undefined);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -22,4 +22,4 @@ export function jsonPathToPosition(path: string[], node: ValueNode | PropertyNod
|
|||||||
);
|
);
|
||||||
}) as PropertyNode | undefined;
|
}) as PropertyNode | undefined;
|
||||||
return jsonPathToPosition(path.slice(1), newNode?.value);
|
return jsonPathToPosition(path.slice(1), newNode?.value);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user