Skip to content

Commit

Permalink
Don’t use isArray on ember data objects
Browse files Browse the repository at this point in the history
  • Loading branch information
fsmanuel authored and mansona committed Nov 8, 2023
1 parent ec9d14e commit 4ef82e5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions addon/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import ObjectProxy from '@ember/object/proxy';
import { isHTMLSafe } from '@ember/template';
import EmberObject from '@ember/object';
import { typeOf } from '@ember/utils';
import { A as emberArray, isArray } from '@ember/array';
import { A as emberArray } from '@ember/array';
import {
macroCondition,
dependencySatisfies,
Expand Down Expand Up @@ -51,7 +51,6 @@ export function isDSManyArray(o) {
return !!(
DS &&
o &&
isArray(o) &&
(o instanceof DS.PromiseManyArray || o instanceof DS.ManyArray)
);
}
Expand Down

0 comments on commit 4ef82e5

Please sign in to comment.