fix: secret env bug in firebase due to undefined value

This commit is contained in:
nivedin
2024-03-07 18:33:55 +05:30
committed by Andrew Bastin
parent be7387ed19
commit 40e8696a9a
2 changed files with 5 additions and 9 deletions

View File

@@ -416,9 +416,7 @@ const saveEnvironment = () => {
const variables = pipe(
filteredVariables,
A.map((e) =>
e.secret ? { key: e.key, secret: e.secret, value: undefined } : e
)
A.map((e) => (e.secret ? { key: e.key, secret: e.secret } : e))
)
const environmentUpdated: Environment = {