1
0
mirror of https://github.com/go-task/task.git synced 2025-11-23 22:24:45 +02:00

Few code improvements on #216

This commit is contained in:
Andrey Nering
2019-09-14 17:54:41 -03:00
parent 884cd0d636
commit 1a28e5e0d4
11 changed files with 74 additions and 47 deletions

View File

@@ -109,7 +109,7 @@ func (e *Executor) CompiledTask(call taskfile.Call) (*taskfile.Task, error) {
vars[strings.ToUpper(checker.Kind())] = taskfile.Var{Live: value}
// Adding new variables, requires us to refresh the templaters
// cache of the the values manually
r.RefreshCacheMap()
r.ResetCache()
new.Status = r.ReplaceSlice(origTask.Status)
}