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

fix: include with dynamic vars (#2092)

This commit is contained in:
Valentin Maerten
2025-02-26 17:49:05 +01:00
committed by GitHub
parent a266fba93e
commit c23c46e326
4 changed files with 25 additions and 1 deletions

View File

@@ -105,7 +105,7 @@ func (vars *Vars) ToCacheMap() (m map[string]any) {
if v.Sh != nil && *v.Sh != "" {
// Dynamic variable is not yet resolved; trigger
// <no value> to be used in templates.
return nil
continue
}
if v.Live != nil {
m[k] = v.Live