Skip to content

Commit

Permalink
fix(core): remove obsolete process.env.TSED_TRACK_CIRCULAR_REF usage …
Browse files Browse the repository at this point in the history
…in deepClone
  • Loading branch information
Romakita committed Dec 26, 2022
1 parent 211a57d commit 1c077a1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/core/src/utils/objects/deepClone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ export function deepClone(source: any, stack = new WeakMap()): any {

if (stacked) {
// See issue #1619
// istanbul ignore next
process.env.TSED_TRACK_CIRCULAR_REF && console.trace("Circular ref detected on deepClone", stacked);
return stacked;
}

Expand Down

0 comments on commit 1c077a1

Please sign in to comment.