File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ const initFunction = async () => {
8181
8282 fs.mkdirSync(functionDir, "777");
8383
84- let 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 -b v3 --single-branch - -depth 1 --sparse https://github.com/{{ sdk .gitUserName }}/functions-starter ."; // depth prevents fetching older commits reducing the amount fetched
8585
8686 let gitPullCommands = `git sparse-checkout add ${answers.runtime.id}`;
8787
Original file line number Diff line number Diff line change 2222 "windows-arm64": "pkg -t node16-win-arm64 -o build/appwrite-cli-win-arm64.exe package.json"
2323 },
2424 "dependencies": {
25- "axios": "^0.27.2 ",
25+ "axios": "1.5.0 ",
2626 "chalk": "4.1.2",
2727 "cli-table3": "^0.6.2",
2828 "commander": "^9.2.0",
Original file line number Diff line number Diff line change 1- let query = "?\(client.parametersToQueryString(params: params ))"
2- let url = URL(string: client.endPoint + api_path + query)!
1+ let query = "?\(client.parametersToQueryString(params: apiParams ))"
2+ let url = URL(string: client.endPoint + apiPath + query)!
33 let callbackScheme = "appwrite-callback-\(client.config["project"] ?? "")"
44 let group = DispatchGroup()
55
Original file line number Diff line number Diff line change 11const { exec, execSync } = require ( 'child_process' ) ;
22
3- execSync ( "node index client --endpoint 'https://demo .appwrite.io /v1' --projectId console --key=35y3h5h345 --selfSigned true" , { stdio : 'inherit' } ) ;
3+ execSync ( "node index client --endpoint 'https://qa .appwrite.org /v1' --projectId console --key=35y3h5h345 --selfSigned true" , { stdio : 'inherit' } ) ;
44
55var output ;
66console . log ( '\nTest Started' ) ;
You can’t perform that action at this time.
0 commit comments