1
0
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:
Andrey Nering
2018-08-05 11:28:02 -03:00
parent 27fc4c4ca8
commit a5f31a4280
5 changed files with 15 additions and 11 deletions

View File

@@ -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
}