mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 23:04:04 +00:00
Output
This commit is contained in:
parent
9589fcfdef
commit
6601e9bbba
1 changed files with 9 additions and 2 deletions
|
@ -17,5 +17,12 @@ let branch = inputArray[1];
|
||||||
console.log("Checkout pr");
|
console.log("Checkout pr");
|
||||||
|
|
||||||
// Checkout the pr
|
// Checkout the pr
|
||||||
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` ]);
|
||||||
childProcess.spawnSync("git", [ "checkout", `name/${branch}`, "--force" ]);
|
|
||||||
|
console.log(result.stdout);
|
||||||
|
console.error(result.stderr);
|
||||||
|
|
||||||
|
result = childProcess.spawnSync("git", [ "checkout", `name/${branch}`, "--force" ]);
|
||||||
|
|
||||||
|
console.log(result.stdout);
|
||||||
|
console.error(result.stderr);
|
||||||
|
|
Loading…
Reference in a new issue