File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
templates/cli/lib/commands Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const pullResources = async () => {
27
27
if (cliConfig.all) {
28
28
for (let action of Object.values(actions)) {
29
29
cliConfig.all = true;
30
- await action();
30
+ await action({} );
31
31
}
32
32
} else {
33
33
const answers = await inquirer.prompt(questionsPullResources[0]);
@@ -92,7 +92,7 @@ const pullFunctions = async ({ code }) => {
92
92
if (!fs.existsSync(func['path'])) {
93
93
fs.mkdirSync(func['path'], { recursive: true });
94
94
}
95
-
95
+
96
96
if(code === false) {
97
97
warn("Source code download skipped.");
98
98
} else if(!func['deployment']) {
@@ -114,14 +114,14 @@ const pullFunctions = async ({ code }) => {
114
114
overrideForCli: true,
115
115
parseOutput: false
116
116
});
117
-
117
+
118
118
tar.extract({
119
119
sync: true,
120
120
cwd: func['path'],
121
121
file: compressedFileName,
122
122
strict: false,
123
123
});
124
-
124
+
125
125
fs.rmSync(compressedFileName);
126
126
}
127
127
}
You can’t perform that action at this time.
0 commit comments