diff --git a/packages/compat/src/compat-adapters/ember-inflector.ts b/packages/compat/src/compat-adapters/ember-inflector.ts index 351c3ca2b..f2a3335b6 100644 --- a/packages/compat/src/compat-adapters/ember-inflector.ts +++ b/packages/compat/src/compat-adapters/ember-inflector.ts @@ -6,7 +6,7 @@ import { join } from 'path'; import { removeSync } from 'fs-extra'; const makeConfigurable = ` -if (Ember.ENV.EXTEND_PROTOTYPES === true || Ember.ENV.EXTEND_PROTOTYPES.String) { +if (EmberENV.EXTEND_PROTOTYPES === true || EmberENV.EXTEND_PROTOTYPES.String) { Object.defineProperty(String.prototype, 'pluralize', { configurable: true }); Object.defineProperty(String.prototype, 'singularize', { configurable: true }); Object.defineProperty(Ember, 'Inflector', { configurable: true });