shithub: hugo

Download patch

ref: c9dc316ad160e78c9dff4e75313db4cac8ea6414
parent: 1664a0e8938f97e3348a84ae773a577880b0531a
author: Bjørn Erik Pedersen <[email protected]>
date: Sat Mar 21 14:38:19 EDT 2020

Revert "resources: Add data context to the key in ExecuteAsTemplate"

This reverts commit 18cb21ff2e4a60e7094908e4d6113a9d5a086316.

Fixes #7064

--- a/resources/resource_transformers/templates/execute_as_template.go
+++ b/resources/resource_transformers/templates/execute_as_template.go
@@ -48,7 +48,7 @@
 }
 
 func (t *executeAsTemplateTransform) Key() internal.ResourceTransformationKey {
-	return internal.NewResourceTransformationKey("execute-as-template", t.targetPath, t.data)
+	return internal.NewResourceTransformationKey("execute-as-template", t.targetPath)
 }
 
 func (t *executeAsTemplateTransform) Transform(ctx *resources.ResourceTransformationCtx) error {