Skip to content

Commit

Permalink
Don't alter the current_path context key when getting the set tag for
Browse files Browse the repository at this point in the history
current path. This is not necessary
  • Loading branch information
jasmith-hs committed Sep 9, 2024
1 parent f13f7ae commit 6bf00e4
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ public static String getSetTagForCurrentPath(JinjavaInterpreter interpreter) {
.getContext()
.getCurrentPathStack()
.peek()
.map(c -> {
interpreter
.getContext()
.replace(RelativePathResolver.CURRENT_PATH_CONTEXT_KEY, c);
return c;
})
.orElseGet(() ->
(String) interpreter
.getContext()
Expand Down

0 comments on commit 6bf00e4

Please sign in to comment.