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 () => {
81
81
82
82
fs.mkdirSync(functionDir, "777");
83
83
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
85
85
86
86
let gitPullCommands = `git sparse-checkout add ${answers.runtime.id}`;
87
87
Original file line number Diff line number Diff line change 22
22
"windows-arm64": "pkg -t node16-win-arm64 -o build/appwrite-cli-win-arm64.exe package.json"
23
23
},
24
24
"dependencies": {
25
- "axios": "^0.27.2 ",
25
+ "axios": "1.5.0 ",
26
26
"chalk": "4.1.2",
27
27
"cli-table3": "^0.6.2",
28
28
"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)!
3
3
let callbackScheme = "appwrite-callback-\(client.config["project"] ?? "")"
4
4
let group = DispatchGroup()
5
5
Original file line number Diff line number Diff line change 1
1
const { exec, execSync } = require ( 'child_process' ) ;
2
2
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' } ) ;
4
4
5
5
var output ;
6
6
console . log ( '\nTest Started' ) ;
You can’t perform that action at this time.
0 commit comments