Update utils.ts
This commit is contained in:
parent
0a80b05269
commit
72affe97f5
@ -649,7 +649,7 @@ export const jsonOutput = ({
|
|||||||
value: string | string[]
|
value: string | string[]
|
||||||
escape: boolean
|
escape: boolean
|
||||||
}): string => {
|
}): string => {
|
||||||
let result = JSON.stringify(value)
|
const result = JSON.stringify(value)
|
||||||
|
|
||||||
return escape ? result.replace(/"/g, '\\"') : result
|
return escape ? result.replace(/"/g, '\\"') : result
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user