Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(user-notification): Firebase Credentials Setup for Local Development #17199

Merged
merged 13 commits into from
Dec 13, 2024
Merged
4 changes: 1 addition & 3 deletions infra/src/cli/render-secrets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,7 @@ export const renderSecrets = async (service: string) => {

logger.debug('env when rendering', { envMap })
Object.entries(envMap).forEach(([key, value]) => {
const escapedValue = (value ?? '')
.replace(/\n/g, '\\n')
.replace(/"/g, '\\"')
const escapedValue = (value ?? '').replace(/'/g, "\\'")
console.log(`export ${key}='${escapedValue}'`)
rafnarnason marked this conversation as resolved.
Show resolved Hide resolved
})
return envMap
Expand Down
Loading