Enable golangci linter contextcheck (#3170)

Split out from https://github.com/woodpecker-ci/woodpecker/pull/2960
This commit is contained in:
Robert Kaussow
2024-01-11 22:15:15 +01:00
committed by GitHub
parent d0380e31b5
commit f813badcf9
10 changed files with 32 additions and 35 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ func execWithAxis(c *cli.Context, file, repoPath string, axis matrix.Axis) error
}
backendCtx := context.WithValue(c.Context, backendTypes.CliContext, c)
backend.Init(backendCtx)
backend.Init()
backendEngine, err := backend.FindBackend(backendCtx, c.String("backend-engine"))
if err != nil {