mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-30 03:00:40 +00:00
Use pull
This commit is contained in:
parent
676e64c77d
commit
dad2ec1164
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ let result = childProcess.spawnSync("git", [ "remote", "add", name, `https://git
|
||||||
console.log(result.stdout.toString());
|
console.log(result.stdout.toString());
|
||||||
console.error(result.stderr.toString());
|
console.error(result.stderr.toString());
|
||||||
|
|
||||||
result = childProcess.spawnSync("git", [ "checkout", `${name}/${branch}`, "--force" ]);
|
result = childProcess.spawnSync("git", [ "pull", name, branch ]);
|
||||||
|
|
||||||
console.log(result.stdout.toString());
|
console.log(result.stdout.toString());
|
||||||
console.error(result.stderr.toString());
|
console.error(result.stderr.toString());
|
||||||
|
|
Loading…
Reference in a new issue