Skip to content

Commit

Permalink
fix: create a shallow copy of globals
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Aug 24, 2023
1 parent 23ed141 commit b5ac2f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/edge/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b5ac2f3

Please sign in to comment.