1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-12-24 22:14:47 +02:00
This commit is contained in:
Louis Lam 2022-09-08 22:40:45 +08:00
parent 6601e9bbba
commit 0244507a07

View File

@ -19,10 +19,10 @@ console.log("Checkout pr");
// Checkout the pr
let result = childProcess.spawnSync("git", [ "remote", "add", name, `https://github.com/${name}/uptime-kuma` ]);
console.log(result.stdout);
console.error(result.stderr);
console.log(result.stdout.toString());
console.error(result.stderr.toString());
result = childProcess.spawnSync("git", [ "checkout", `name/${branch}`, "--force" ]);
result = childProcess.spawnSync("git", [ "checkout", `${name}/${branch}`, "--force" ]);
console.log(result.stdout);
console.error(result.stderr);
console.log(result.stdout.toString());
console.error(result.stderr.toString());