You've already forked woodpecker
mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-23 21:44:44 +02:00
Add godot linter to harmonitze toplevel comments (#3650)
This commit is contained in:
@@ -147,10 +147,10 @@ func (e *local) StartStep(ctx context.Context, step *types.Step, taskUUID string
|
||||
}
|
||||
}
|
||||
|
||||
// execCommands use step.Image as shell and run the commands in it
|
||||
// execCommands use step.Image as shell and run the commands in it.
|
||||
func (e *local) execCommands(ctx context.Context, step *types.Step, state *workflowState, env []string) error {
|
||||
// Prepare commands
|
||||
// TODO support `entrypoint` from pipeline config
|
||||
// TODO: support `entrypoint` from pipeline config
|
||||
args, err := e.genCmdByShell(step.Image, step.Commands)
|
||||
if err != nil {
|
||||
return fmt.Errorf("could not convert commands into args: %w", err)
|
||||
@@ -176,7 +176,7 @@ func (e *local) execCommands(ctx context.Context, step *types.Step, state *workf
|
||||
return cmd.Start()
|
||||
}
|
||||
|
||||
// execPlugin use step.Image as exec binary
|
||||
// execPlugin use step.Image as exec binary.
|
||||
func (e *local) execPlugin(ctx context.Context, step *types.Step, state *workflowState, env []string) error {
|
||||
binary, err := exec.LookPath(step.Image)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user