Skip to content

Commit

Permalink
fix computed deprecation import path
Browse files Browse the repository at this point in the history
  • Loading branch information
knownasilya committed May 6, 2021
1 parent a6b944e commit 692c3b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@ember/object/index.js
Expand Up @@ -61,7 +61,7 @@ if (DEBUG) {
Object.defineProperty(computed, key, {
get() {
deprecate(
`Using \`computed.${key}\` has been deprecated. Instead, import the value directly from @ember/object/computed:\n\n import { ${key} } from '@ember/runloop';`,
`Using \`computed.${key}\` has been deprecated. Instead, import the value directly from @ember/object/computed:\n\n import { ${key} } from '@ember/object/computed';`,
false,
{
id: 'deprecated-run-loop-and-computed-dot-access',
Expand Down

1 comment on commit 692c3b8

@chancancode
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rwjblue this one should be backported as well

Please sign in to comment.