Correction of a problem where export to dotenv fails if the config value is operated with empty characters in the 1st gen of functions.
Scenarios Tested
TypeError: Cannot read properties of undefined (reading 'replace')
at escape (/Users/yoshikawa/.nodebrew/node/v20.10.0/lib/node_modules/firebase-tools/lib/functions/runtimeConfigExport.js:128:14)
at /Users/yoshikawa/.nodebrew/node/v20.10.0/lib/node_modules/firebase-tools/lib/functions/runtimeConfigExport.js:131:100
at Array.map (<anonymous>)
at Object.toDotenvFormat (/Users/yoshikawa/.nodebrew/node/v20.10.0/lib/node_modules/firebase-tools/lib/functions/runtimeConfigExport.js:131:24)
at /Users/yoshikawa/.nodebrew/node/v20.10.0/lib/node_modules/firebase-tools/lib/commands/functions-config-export.js:110:56
at Array.map (<anonymous>)
at Command.actionFn (/Users/yoshikawa/.nodebrew/node/v20.10.0/lib/node_modules/firebase-tools/lib/commands/functions-config-export.js:110:28)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Description
Correction of a problem where export to dotenv fails if the config value is operated with empty characters in the 1st gen of functions.
Scenarios Tested
Sample Commands