We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bab737b commit 91b863bCopy full SHA for 91b863b
models/pull.go
@@ -429,6 +429,9 @@ func (pr *PullRequest) testPatch() (err error) {
429
430
log.Trace("PullRequest[%d].testPatch (patchPath): %s", pr.ID, patchPath)
431
432
+ // Delete old temp local copy before we create a new temp local copy
433
+ RemoveAllWithNotice("Deleting old local copy", pr.BaseRepo.LocalCopyPath())
434
+
435
if err := pr.BaseRepo.UpdateLocalCopyBranch(pr.BaseBranch); err != nil {
436
return fmt.Errorf("UpdateLocalCopy: %v", err)
437
}
0 commit comments