update linter checks
This commit is contained in:
parent
710212fb3d
commit
40ecb8c188
26 changed files with 187 additions and 79 deletions
|
|
@ -294,7 +294,7 @@ func TestRerun(t *testing.T) {
|
|||
httpmock.StringResponse("{}"))
|
||||
},
|
||||
askStubs: func(as *prompt.AskStubber) {
|
||||
//nolint:staticcheck // SA1019: as.StubOne is deprecated: use StubPrompt
|
||||
//nolint:staticcheck // SA1019: as.StubOne is deprecated; use PrompterMock
|
||||
as.StubOne(2)
|
||||
},
|
||||
wantOut: "✓ Requested rerun of run 1234\n",
|
||||
|
|
@ -351,7 +351,7 @@ func TestRerun(t *testing.T) {
|
|||
return ghrepo.FromFullName("OWNER/REPO")
|
||||
}
|
||||
|
||||
//nolint:staticcheck // SA1019: prompt.InitAskStubber is deprecated: use NewAskStubber
|
||||
//nolint:staticcheck // SA1019: prompt.InitAskStubber is deprecated: use PrompterMock
|
||||
as, teardown := prompt.InitAskStubber()
|
||||
defer teardown()
|
||||
if tt.askStubs != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue