mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-06-15 16:57:13 +02:00
Enable golangci linter contextcheck (#3170)
Split out from https://github.com/woodpecker-ci/woodpecker/pull/2960
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user