Skip to content

Commit

Permalink
replace the value variable with parent[key] on the way back of the tr…
Browse files Browse the repository at this point in the history
…aversal (#239)
  • Loading branch information
dbuezas authored Feb 5, 2023
1 parent f3b3df1 commit 581d2b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parse-config/parse-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ class ConfigParser {
}

// we're now on the way back of traversal, `value` is fully evaluated (not a function)
value = parent[key];

if (path.match(/^entities\.\d+\.filters\.\d+$/)) {
this.evalFilter({ parent, path, key, value });
Expand Down

0 comments on commit 581d2b6

Please sign in to comment.