Skip to content

Commit

Permalink
fix infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
jippi committed Feb 18, 2024
1 parent d4df53f commit de71b80
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/ast/document.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,6 @@ func (doc *Document) doInterpolation(target *Assignment, path []string) {

doc.interpolateWarnings = multierr.Append(doc.interpolateWarnings, ContextualError(target, warnings))
doc.interpolateErrors = multierr.Append(doc.interpolateErrors, ContextualError(target, err))

// Then do interpolation of the dependent keys
for _, rel := range target.RecursiveDependentAssignments() {
doc.doInterpolation(doc.Get(rel), path)
}
}

func (doc *Document) interpolationMapper(target *Assignment) func(input string) (string, bool) {
Expand Down

0 comments on commit de71b80

Please sign in to comment.