Skip to content

Commit

Permalink
fix: fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Aug 20, 2024
1 parent 94856df commit c404dac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controller/outputshell/output_shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"github.com/spf13/afero"
)

func (c *Controller) OutputShell(ctx context.Context, logE *logrus.Entry, param *config.Param) error { //nolint:funlen
func (c *Controller) OutputShell(ctx context.Context, logE *logrus.Entry, param *config.Param) error {
shellPath := filepath.Join(c.rootDir, "shell", strconv.Itoa(param.Ppid), "shell.json")

oldPaths, err := c.readOldPaths(shellPath)
Expand Down Expand Up @@ -147,7 +147,7 @@ func (c *Controller) readShell(shellPath string, shell *Shell) error {
return nil
}

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

0 comments on commit c404dac

Please sign in to comment.