From 72affe97f57269fa2f5838eda56c7d17f7880a91 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Mon, 22 May 2023 23:52:22 -0600 Subject: [PATCH] Update utils.ts --- src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.ts b/src/utils.ts index 98a9ec9f..0f2c4a1c 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -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 }