diff --git a/extra/checkout-pr.js b/extra/checkout-pr.js index b7d643c5..a68f0577 100644 --- a/extra/checkout-pr.js +++ b/extra/checkout-pr.js @@ -22,7 +22,7 @@ let result = childProcess.spawnSync("git", [ "remote", "add", name, `https://git console.log(result.stdout.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.error(result.stderr.toString());