dict-set-context.go -- removed setting pipeValueKey in varStores[0]

This commit is contained in:
Celestino Amoroso 2025-06-18 18:22:22 +02:00
parent 857155274e
commit b1fdc7d511

View File

@ -102,7 +102,7 @@ func (ctx *DictSetContext) Handle(spec string, scanFlags ScannerFlag) (value str
origVarFound := found
for _, part := range parts {
var expandedPart string
ctx.varStores[0][pipeValueKey] = rawValue
// ctx.varStores[0][pipeValueKey] = rawValue
ctx.SetVar(pipeValueKey, rawValue)
if expandedPart, err = Scan(ctx, part); err != nil {
break