mirror of
https://github.com/go-task/task.git
synced 2025-11-25 22:32:55 +02:00
Dry run small code style changes
This commit is contained in:
4
task.go
4
task.go
@@ -35,7 +35,7 @@ type Executor struct {
|
||||
Watch bool
|
||||
Verbose bool
|
||||
Silent bool
|
||||
DryRun bool
|
||||
Dry bool
|
||||
|
||||
Context context.Context
|
||||
|
||||
@@ -212,7 +212,7 @@ func (e *Executor) runCommand(ctx context.Context, t *taskfile.Task, call taskfi
|
||||
e.Logger.Errf(cmd.Cmd)
|
||||
}
|
||||
|
||||
if e.DryRun {
|
||||
if e.Dry {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user