Skip to content

Commit

Permalink
refactor: remove duplicate log output
Browse files Browse the repository at this point in the history
  • Loading branch information
KnisterPeter authored and github-actions committed May 23, 2022
1 parent 610e699 commit 9b7997c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions pkg/runner/step_action_local.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (

"github.com/nektos/act/pkg/common"
"github.com/nektos/act/pkg/model"
log "github.com/sirupsen/logrus"
)

type stepActionLocal struct {
Expand Down Expand Up @@ -58,7 +57,6 @@ func (sal *stepActionLocal) main() common.Executor {
}

sal.action = actionModel
log.Debugf("Read action %v from '%s'", sal.action, "Unknown")

return sal.runAction(sal, actionDir, nil)(ctx)
})
Expand Down
2 changes: 0 additions & 2 deletions pkg/runner/step_action_remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
"github.com/nektos/act/pkg/common"
"github.com/nektos/act/pkg/model"
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
)

type stepActionRemote struct {
Expand Down Expand Up @@ -86,7 +85,6 @@ func (sar *stepActionRemote) main() common.Executor {
func(ctx context.Context) error {
actionModel, err := sar.readAction(sar.Step, actionDir, remoteAction.Path, remoteReader(ctx), ioutil.WriteFile)
sar.action = actionModel
log.Debugf("Read action %v from '%s'", sar.action, "Unknown")
return err
},
sar.runAction(sar, actionDir, remoteAction),
Expand Down

0 comments on commit 9b7997c

Please sign in to comment.