Skip to content

Commit

Permalink
fix computed deprecation import path
Browse files Browse the repository at this point in the history
(cherry picked from commit 692c3b8)
  • Loading branch information
knownasilya authored and chancancode committed May 27, 2021
1 parent 97d9782 commit dc1cc22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@ember/object/index.js
Original file line number Diff line number Diff line change
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

0 comments on commit dc1cc22

Please sign in to comment.