Skip to content

Commit

Permalink
fix: string escaping
Browse files Browse the repository at this point in the history
  • Loading branch information
therockstorm committed Oct 25, 2023
1 parent d6bb31e commit aa438a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/template-secret.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function templateSecret(req: TemplateSecretReq): string {
(() => {`,
""
)
.replace("`{.CONFIG}`", JSON.stringify(config))
.replace(`"{.CONFIG}"`, "`" + JSON.stringify(config) + "`")
);
}

Expand Down

1 comment on commit aa438a3

@vercel
Copy link

@vercel vercel bot commented on aa438a3 Oct 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.