try fetch no submodule

This commit is contained in:
diveintolava 2024-01-18 22:55:35 +08:00
parent d2377758a4
commit 25c6d23bda

View file

@ -187,7 +187,7 @@ async function resetBranch(execa) {
let hasFailed = false;
try {
await execa("git", ["remote", "add", "source", "https://github.com/yuzu-emu/yuzu.git"]);
await execa("git", ["fetch", "source"]);
await execa("git", ["fetch","--no-recurse-submodules", "source"]);
const process1 = await execa("git", ["rev-parse", "source/master"]);
const headCommit = process1.stdout;