Fix pr-test

This commit is contained in:
Louis Lam 2022-09-17 01:59:25 +08:00
parent d23085cddc
commit 1c4e97439c
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ result = childProcess.spawnSync("git", [ "fetch", name, branch ]);
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", branch, "--force" ]); result = childProcess.spawnSync("git", [ "checkout", `${name}/${branch}`, "--force" ]);
console.log(result.stdout.toString()); console.log(result.stdout.toString());
console.error(result.stderr.toString()); console.error(result.stderr.toString());