mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: Remove incorrect function documentation
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
c76b30cf4a
commit
9ab8cf7bef
@ -94,8 +94,6 @@ export function formatJSONValue(value: unknown): string {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This function is a safer version of `JSONPath.value(obj, path)` with untrusted jsonpath strings
|
* This function is a safer version of `JSONPath.value(obj, path)` with untrusted jsonpath strings
|
||||||
*
|
|
||||||
* This function will also stringify the value retrieved from the object
|
|
||||||
*/
|
*/
|
||||||
export function safeJSONPathValue(obj: object, path: string): unknown {
|
export function safeJSONPathValue(obj: object, path: string): unknown {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user