Skip to content

Commit 133b2fd

Browse files
Apply suggestions from code review
Co-authored-by: Christy Jacob <[email protected]>
1 parent a321511 commit 133b2fd

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

templates/cli/lib/commands/deploy.js.twig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ const deployFunction = async ({ functionId, all, yes } = {}) => {
218218
}
219219

220220
// Deploy local variables
221-
222221
await Promise.all(Object.keys(func.variables).map(async localVariableKey => {
223222
await functionsCreateVariable({
224223
functionId: func['$id'],

templates/cli/lib/questions.js.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ const questionsDeployFunctions = [
255255
{
256256
type: "input",
257257
name: "override",
258-
message: 'Are you sure you want to override this function variables? This can lead to loss of secrets! Type "YES" to confirm.'
258+
message: 'Are you sure you want to override this function's variables? This can lead to loss of secrets! Type "YES" to confirm.'
259259
},
260260
]
261261

0 commit comments

Comments
 (0)