escape secrets

This commit is contained in:
Inian authored and Joshen Lim committed 2022-12-20 14:19:07 +07:00
1 parent 9a2f6c534f
commit 16c604621d
1 file changed
+1 -1
+1 -1
View File
@@ -29,7 +29,7 @@ const getSecrets = async (name, region) => {
getSecrets(secretName, region).then(async (secrets) => {
let secretContent = ''
for (const [secretKey, secretValue] of Object.entries(secrets)) {
secretContent += `${secretKey}=${secretValue}\n`
secretContent += `${secretKey}="${secretValue}"\n`
}
await fs.writeFile('.env.local', secretContent.trim())
})