mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
escape secrets
This commit is contained in:
1 parent
9a2f6c534f
commit
16c604621d
1 file changed
+1
-1
@@ -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())
|
||||
})
|
||||
Reference in new issue
Block a user