This commit is contained in:
2025-02-12 14:50:45 +03:00
parent 90867f5d7c
commit ed173867f5
3 changed files with 7 additions and 7 deletions

View File

@ -351,7 +351,7 @@ func (b *Builder) executeFirstPass(
for _, pkgName := range b.opts.Packages {
var preVars types.BuildVarsPre
funcName := fmt.Sprintf("meta_%s", pkgName)
meta, ok := dec.GetFuncSub(funcName)
meta, ok := dec.GetFuncWithSubshell(funcName)
if !ok {
return "", nil, errors.New("func is missing")
}