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