mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-10 14:06:30 +00:00
fix: check cache before cloning (#16517)
This commit is contained in:
parent
fa17909e8f
commit
e10aa6aa5a
1 changed files with 2 additions and 2 deletions
|
@ -621,8 +621,6 @@ export async function isBranchConflicted(
|
|||
branch: string
|
||||
): Promise<boolean> {
|
||||
logger.debug(`isBranchConflicted(${baseBranch}, ${branch})`);
|
||||
await syncGit();
|
||||
await writeGitAuthor();
|
||||
|
||||
const baseBranchSha = getBranchCommit(baseBranch);
|
||||
const branchSha = getBranchCommit(branch);
|
||||
|
@ -648,6 +646,8 @@ export async function isBranchConflicted(
|
|||
}
|
||||
|
||||
let result = false;
|
||||
await syncGit();
|
||||
await writeGitAuthor();
|
||||
|
||||
const origBranch = config.currentBranch;
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue