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")
}

View File

@ -223,7 +223,7 @@ func (rs *Repos) updatePkg(ctx context.Context, repo types.Repo, runner *interp.
if err != nil {
return err
}
meta, ok := d.GetFuncSub(funcName)
meta, ok := d.GetFuncWithSubshell(funcName)
if !ok {
return errors.New("func is missing")
}