From aa438a31b5d6096767546dc688d724a5b5835686 Mon Sep 17 00:00:00 2001 From: Rocky Warren <1085683+therockstorm@users.noreply.github.com> Date: Tue, 24 Oct 2023 19:37:11 -0600 Subject: [PATCH] fix: string escaping --- src/lib/template-secret.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/template-secret.ts b/src/lib/template-secret.ts index b6b454a..11d42bf 100644 --- a/src/lib/template-secret.ts +++ b/src/lib/template-secret.ts @@ -49,7 +49,7 @@ export function templateSecret(req: TemplateSecretReq): string { (() => {`, "" ) - .replace("`{.CONFIG}`", JSON.stringify(config)) + .replace(`"{.CONFIG}"`, "`" + JSON.stringify(config) + "`") ); }