style(lint): Renamed unused function arguments to _

This commit is contained in:
2021-10-09 18:02:45 +01:00
parent c760ffa25e
commit b81e101ca7
3 changed files with 5 additions and 5 deletions

View File

@@ -112,7 +112,7 @@ func caskUpdateCmd() *cli2.Command {
func caskUpdateAction(
c *cli2.Context,
opts *Options,
_ *Options,
cOpts *caskOptions,
) error {
updateOpts := &cask.UpdateOptions{

View File

@@ -52,7 +52,7 @@ func notarizeCmd() *cli2.Command {
}
}
func notarizeAction(c *cli2.Context, opts *Options) error {
func notarizeAction(c *cli2.Context, _ *Options) error {
options := &notarize.Options{
File: c.Args().Get(0),
BundleID: c.String("bundle-id"),

View File

@@ -108,7 +108,7 @@ func releaseCheckCmd() *cli2.Command {
func releaseCheckAction(
c *cli2.Context,
opts *Options,
_ *Options,
rOpts *releaseOptions,
) error {
rlsOpts := &release.CheckOptions{
@@ -160,7 +160,7 @@ func releasePublishCmd() *cli2.Command {
func releasePublishAction(
c *cli2.Context,
opts *Options,
_ *Options,
rOpts *releaseOptions,
) error {
rlsOpts := &release.PublishOptions{
@@ -235,7 +235,7 @@ func releaseBulkCmd() *cli2.Command {
func releaseBulkAction(
c *cli2.Context,
opts *Options,
_ *Options,
rOpts *releaseOptions,
) error {
bulkOpts := &release.BulkOptions{