We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents db265ee + 14e17eb commit 75ea2fcCopy full SHA for 75ea2fc
templates/cli/lib/commands/deploy.js.twig
@@ -149,7 +149,7 @@ const deployFunction = async () => {
149
let response = {};
150
151
let answers = await inquirer.prompt(questionsDeployFunctions)
152
- let functions = answers.functions
+ let functions = answers.functions.map((func) => JSONbig.parse(func))
153
154
for (let func of functions) {
155
log(`Deploying function ${func.name} ( ${func['$id']} )`)
templates/cli/lib/questions.js.twig
@@ -197,7 +197,7 @@ const questionsDeployFunctions = [
197
let choices = functions.map((func, idx) => {
198
return {
199
name: `${func.name} (${func['$id']})`,
200
- value: func
+ value: JSONbig.stringify(func)
201
}
202
})
203
return choices;
0 commit comments