Honor cancellation throughout publication recovery Git operations
This commit is contained in:
@@ -73,7 +73,7 @@ func TestBuiltPublishRecoveryCommandSelectsItsRecordAmongOtherAttempts(t *testin
|
||||
{RepositoryDir: repository, ModulePath: "example.com/other-module", Version: "v8.8.8", Tag: "v8.8.8", Endpoint: remote, Remote: "origin"},
|
||||
{RepositoryDir: repository, ModulePath: "example.com/retry", Version: "v1.2.4", Tag: "v1.2.4", Endpoint: remote, Remote: "origin"},
|
||||
} {
|
||||
if _, err := publish.SaveEvidence(repository, store, decoy); err != nil {
|
||||
if _, err := publish.SaveEvidence(t.Context(), repository, store, decoy); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user