Skip to content

Commit bdc3e78

Browse files
committed
fix(cli): Error no default value
1 parent af04584 commit bdc3e78

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const pullResources = async () => {
2727
if (cliConfig.all) {
2828
for (let action of Object.values(actions)) {
2929
cliConfig.all = true;
30-
await action();
30+
await action({});
3131
}
3232
} else {
3333
const answers = await inquirer.prompt(questionsPullResources[0]);
@@ -92,7 +92,7 @@ const pullFunctions = async ({ code }) => {
9292
if (!fs.existsSync(func['path'])) {
9393
fs.mkdirSync(func['path'], { recursive: true });
9494
}
95-
95+
9696
if(code === false) {
9797
warn("Source code download skipped.");
9898
} else if(!func['deployment']) {
@@ -114,14 +114,14 @@ const pullFunctions = async ({ code }) => {
114114
overrideForCli: true,
115115
parseOutput: false
116116
});
117-
117+
118118
tar.extract({
119119
sync: true,
120120
cwd: func['path'],
121121
file: compressedFileName,
122122
strict: false,
123123
});
124-
124+
125125
fs.rmSync(compressedFileName);
126126
}
127127
}

0 commit comments

Comments
 (0)