File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
templates/cli/lib/commands Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -81,9 +81,9 @@ const initFunction = async () => {
81
81
82
82
fs.mkdirSync(functionDir, "777");
83
83
84
- const gitInitCommands = "git clone --depth 1 --sparse https://github.com/{{ sdk .gitUserName }}/functions-starter ."; // depth prevents fetching older commits reducing the amount fetched
84
+ let gitInitCommands = "git clone --depth 1 --sparse https://github.com/{{ sdk .gitUserName }}/functions-starter ."; // depth prevents fetching older commits reducing the amount fetched
85
85
86
- const gitPullCommands = `git sparse-checkout add ${answers.runtime.id}`;
86
+ let gitPullCommands = `git sparse-checkout add ${answers.runtime.id}`;
87
87
88
88
// Force use CMD as powershell does not support &&
89
89
if (process.platform == 'win32') {
You can’t perform that action at this time.
0 commit comments