From a1765e1d3370cdcfd1a8252ce3274741c9363c87 Mon Sep 17 00:00:00 2001 From: jaedle Date: Sun, 24 Feb 2019 16:17:47 +0100 Subject: [PATCH] refactoring --- task.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/task.go b/task.go index 6e26d5c2..2c18469f 100644 --- a/task.go +++ b/task.go @@ -65,7 +65,8 @@ func (e *Executor) Run(ctx context.Context, calls ...taskfile.Call) error { } if e.Summary { - e.printTaskSummary(calls[0].Task) + firstTask := calls[0].Task + e.printTaskSummary(firstTask) return nil }