mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-24 04:16:27 +02:00
12 lines
202 B
Go
12 lines
202 B
Go
|
package middleware
|
||
|
|
||
|
import "github.com/goreleaser/goreleaser/pkg/context"
|
||
|
|
||
|
var ctx = &context.Context{}
|
||
|
|
||
|
func mockAction(err error) Action {
|
||
|
return func(ctx *context.Context) error {
|
||
|
return err
|
||
|
}
|
||
|
}
|