diff --git a/src/main/java/com/hubspot/jinjava/lib/tag/eager/importing/EagerImportingStrategyFactory.java b/src/main/java/com/hubspot/jinjava/lib/tag/eager/importing/EagerImportingStrategyFactory.java index 3cd547f3d..c8833852b 100644 --- a/src/main/java/com/hubspot/jinjava/lib/tag/eager/importing/EagerImportingStrategyFactory.java +++ b/src/main/java/com/hubspot/jinjava/lib/tag/eager/importing/EagerImportingStrategyFactory.java @@ -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()