pull/2023/head
Louis Lam 2 years ago
parent 6601e9bbba
commit 0244507a07

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

Loading…
Cancel
Save