From 2590b2bcd80d259f9d36ea4414bc001ef61d7ba3 Mon Sep 17 00:00:00 2001 From: Chris Krycho Date: Wed, 16 Mar 2022 13:20:44 -0600 Subject: [PATCH] [BUGFIX beta] remove unneeded `setFactoryFor(this, this)` Identified as part of the work on #20025, this particular `setFactoryFor` was needed at one time but is now defunct. Remove it. --- packages/@ember/-internals/container/lib/container.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/@ember/-internals/container/lib/container.ts b/packages/@ember/-internals/container/lib/container.ts index 166b34a1ec5..4cbc19ee869 100644 --- a/packages/@ember/-internals/container/lib/container.ts +++ b/packages/@ember/-internals/container/lib/container.ts @@ -558,7 +558,6 @@ class FactoryManager { this.normalizedName = normalizedName; this.madeToString = undefined; this.injections = undefined; - setFactoryFor(this, this); } toString(): string {