Skip to content

Commit

Permalink
refactor: fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Jan 31, 2025
1 parent 1dd7fb7 commit 2db4406
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/checksum/type.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func Open(logE *logrus.Entry, fs afero.Fs, cfgFilePath string, enabled bool) (*C
}
checksumFilePath, err := GetChecksumFilePathFromConfigFilePath(fs, cfgFilePath)
if err != nil {
return nil, nil, err //nolint:wrapcheck
return nil, nil, err
}
checksums := New()
if err := checksums.ReadFile(fs, checksumFilePath); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/list/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/sirupsen/logrus"
)

func (c *Controller) List(ctx context.Context, logE *logrus.Entry, param *config.Param) error { //nolint:cyclop
func (c *Controller) List(ctx context.Context, logE *logrus.Entry, param *config.Param) error {
if param.Installed {
return c.listInstalled(logE, param)
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/vacuum/initialize/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func (c *Controller) Init(ctx context.Context, logE *logrus.Entry, param *config
return nil
}

func (c *Controller) create(ctx context.Context, logE *logrus.Entry, cfgFilePath string, param *config.Param) error { //nolint:cyclop
func (c *Controller) create(ctx context.Context, logE *logrus.Entry, cfgFilePath string, param *config.Param) error {
cfg := &aqua.Config{}
if cfgFilePath == "" {
return finder.ErrConfigFileNotFound
Expand Down

0 comments on commit 2db4406

Please sign in to comment.