dict-set-context.go -- removed setting pipeValueKey in varStores[0]
This commit is contained in:
parent
857155274e
commit
b1fdc7d511
@ -102,7 +102,7 @@ func (ctx *DictSetContext) Handle(spec string, scanFlags ScannerFlag) (value str
|
|||||||
origVarFound := found
|
origVarFound := found
|
||||||
for _, part := range parts {
|
for _, part := range parts {
|
||||||
var expandedPart string
|
var expandedPart string
|
||||||
ctx.varStores[0][pipeValueKey] = rawValue
|
// ctx.varStores[0][pipeValueKey] = rawValue
|
||||||
ctx.SetVar(pipeValueKey, rawValue)
|
ctx.SetVar(pipeValueKey, rawValue)
|
||||||
if expandedPart, err = Scan(ctx, part); err != nil {
|
if expandedPart, err = Scan(ctx, part); err != nil {
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user