mirror of
https://github.com/maputnik/editor.git
synced 2026-08-19 03:27:38 +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);
|
||||
expect(node).toBe(undefined);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -22,4 +22,4 @@ export function jsonPathToPosition(path: string[], node: ValueNode | PropertyNod
|
||||
);
|
||||
}) as PropertyNode | undefined;
|
||||
return jsonPathToPosition(path.slice(1), newNode?.value);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user