From b5ac2f33a748e18c182b26fd8e242693ee699a57 Mon Sep 17 00:00:00 2001 From: Harminder Virk Date: Thu, 24 Aug 2023 10:19:29 +0530 Subject: [PATCH] fix: create a shallow copy of globals --- src/edge/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/edge/main.ts b/src/edge/main.ts index 39a04ca..c728eb5 100644 --- a/src/edge/main.ts +++ b/src/edge/main.ts @@ -80,7 +80,7 @@ export class Edge { /** * Globals are shared with all rendered templates */ - globals: EdgeGlobals = edgeGlobals + globals: EdgeGlobals = { ...edgeGlobals } /** * List of registered tags. Adding new tags will only impact