fix: ensure the fork remote doesn't exists before creating it (#2012)
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
@@ -88,8 +88,7 @@ const getChangedFilesFromLocalGitHistory = async ({
|
||||
}
|
||||
|
||||
if (isFork) {
|
||||
await setForkRemote({cwd: workingDirectory})
|
||||
remoteName = 'fork'
|
||||
remoteName = await setForkRemote({cwd: workingDirectory})
|
||||
}
|
||||
|
||||
let diffResult: DiffResult
|
||||
|
||||
Reference in New Issue
Block a user