From fbbd92ba6b8307236acb81f62556d7133868b642 Mon Sep 17 00:00:00 2001 From: Scott Newcomer Date: Sun, 8 Aug 2021 21:05:50 -0500 Subject: [PATCH] tmp --- .../-internals/container/lib/registry.ts | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/@ember/-internals/container/lib/registry.ts b/packages/@ember/-internals/container/lib/registry.ts index 5e2ec3b5105..2b45b1408ee 100644 --- a/packages/@ember/-internals/container/lib/registry.ts +++ b/packages/@ember/-internals/container/lib/registry.ts @@ -1,6 +1,6 @@ import { Factory } from '@ember/-internals/owner'; import { dictionary, intern } from '@ember/-internals/utils'; -import { assert, deprecate } from '@ember/debug'; +import { assert } from '@ember/debug'; import { DEBUG } from '@glimmer/env'; import Container, { ContainerOptions, LazyInjection } from './container'; @@ -566,19 +566,19 @@ export default class Registry implements IRegistry { this.isValidFullName(injectionName) ); - deprecate( - `owner.inject has been deprecated and will be removed in v5.0.0. Please refactor to explicitly instantiate ${property} on ${fullName}.`, - false, - { - id: 'remove-owner-inject', - until: '5.0.0', - url: 'TODO', - for: 'ember-source', - since: { - enabled: '4.0.0', - }, - } - ); + // deprecate( + // `owner.inject has been deprecated and will be removed in v5.0.0. Please refactor to explicitly instantiate ${property} on ${fullName}.`, + // false, + // { + // id: 'remove-owner-inject', + // until: '5.0.0', + // url: 'TODO', + // for: 'ember-source', + // since: { + // enabled: '4.0.0', + // }, + // } + // ); let normalizedInjectionName = this.normalize(injectionName);