You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-11-06 09:09:29 +02:00
fix: remove repetitive words (#4701)
<!-- Hi, thanks for contributing! Please make sure you read our CONTRIBUTING guide. Also, add tests and the respective documentation changes as well. --> <!-- If applied, this commit will... --> ... <!-- Why is this change being made? --> ... <!-- # Provide links to any relevant tickets, URLs or other resources --> ... Signed-off-by: standstaff <zhengxingru@yeah.net>
This commit is contained in:
@@ -4,6 +4,6 @@ package middleware
|
|||||||
import "github.com/goreleaser/goreleaser/pkg/context"
|
import "github.com/goreleaser/goreleaser/pkg/context"
|
||||||
|
|
||||||
// Action is a function that takes a context and returns an error.
|
// Action is a function that takes a context and returns an error.
|
||||||
// It is is used on Pipers, Defaulters and Publishers, although they are not
|
// It is used on Pipers, Defaulters and Publishers, although they are not
|
||||||
// aware of this generalization.
|
// aware of this generalization.
|
||||||
type Action func(ctx *context.Context) error
|
type Action func(ctx *context.Context) error
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
errNoRepoName = pipe.Skip("winget.repository.name name is required")
|
errNoRepoName = pipe.Skip("winget.repository.name is required")
|
||||||
errNoPublisher = pipe.Skip("winget.publisher is required")
|
errNoPublisher = pipe.Skip("winget.publisher is required")
|
||||||
errNoLicense = pipe.Skip("winget.license is required")
|
errNoLicense = pipe.Skip("winget.license is required")
|
||||||
errNoShortDescription = pipe.Skip("winget.short_description is required")
|
errNoShortDescription = pipe.Skip("winget.short_description is required")
|
||||||
|
|||||||
Reference in New Issue
Block a user